logo
down
shadow

Initiate login for custom stories


Initiate login for custom stories

Content Index :

Initiate login for custom stories
Tag : facebook , By : pttr
Date : November 17 2020, 12:00 PM

wish of those help
Shouldn't the login window get open by itself asking the user to login into facebook or I need to do something on my end to handle this situation?
FB.login(function(response) {
    if (response.authResponse) {
        // The person logged into your app
    } else {
        // The person cancelled the login dialog
    }
});
FB.getLoginStatus(function(response) {
   if (response.status === 'connected') {
     var uid = response.authResponse.userID;
     var accessToken = response.authResponse.accessToken;
   } 
   else if (response.status === 'not_authorized') {
       // the user is logged in to Facebook, 
       // but has not authenticated your app
   } 
   else {
       // the user isn't logged in to Facebook.
   }
  });

Comments
No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

Tag : javascript , By : ranja
Date : March 29 2020, 07:55 AM
With these it helps You are having his issue because the form is initiated in javascript as a Varien_Form:
<script type="text/javascript">
    var dataForm = new VarienForm('login-form', true);
</script>

Facebook Javascript SDK open-graph: error adding custom objects for custom stories


Tag : javascript , By : Gilmar Souza Jr.
Date : March 29 2020, 07:55 AM
it fixes the issue The object is a JSON-encoded version of an object, the sample code generated for you was incorrect. Also remove type from the parameter list.
So something like,
FB.api(
  'me/objects/[namespace]:opinion',
  'post',
  {
    object: {"app_id":xxx,"url":"http:\/\/samples.ogp.me\/331257847005141","title":"\"Sample Opinion\"","image":"https:\/\/s-static.ak.fbcdn.net\/images\/devsite\/attachment_blank.png","description":"\"\""}
  },
  function(response) {
    // handle the response
  }
);

Add custom name, caption, image, description to new facebook share dialog or custom stories not taking them from og meta


Tag : facebook , By : Dominique Vocat
Date : March 29 2020, 07:55 AM
I wish did fix the issue. I think that your href URL should use metadata so that Facebook could get those informations.
From Facebook developers page:

Facebook - Custom notifications text using Graph api custom stories


Tag : facebook , By : Nigel
Date : March 29 2020, 07:55 AM
This might help you This isn't possible unfortunately, for two reasons:
Facebook doesn't allow actions like "installed" or "joined" with Open Graph (see their submission process App requests are for games, not general websites.

Magnolia 5.5.5 Custom Content Editor App (Stories) Custom CKEditor Config


Tag : javascript , By : CookingCoder
Date : March 29 2020, 07:55 AM
I think the issue was by ths following , I can see two options:
Extend the class and change the references to the new one (don't forget to compile the widgetset since it's client side code) Directly modify the content_editor_config.js file which seems to be the easier option if you want to modify all TextBlocks
Related Posts Related QUESTIONS :
shadow
Privacy Policy - Terms - Contact Us © scrbit.com