How To Use Facebook Js Sdk
However you can use javascript sdk for different purposes.
How to use facebook js sdk. In your newly created fb js you can instantiate and use the fb object as usual. Trigger a share dialog facebook login and calling the graph api. Add a channel file in your website. Reference a list of all sdk methods. Adding a shim to the facebook sdk.
I need to logout from facebook from my application. This creates a facebook module using the javascript sdk url and marks the fb object as the export for that module. Viewed 2k times 0. Learn how to use the javascript sdk. If you are just looking forward to show social plugins then the basic javascript sdk is pretty enough.
We have a full guide on how to use the js sdk to implement facebook login but for now let s just use some basic sample code so you can see how it works. Active 2 years 2 months ago. Javascript facebook login facebook javascript sdk facebook login. Content of channel file is. How can i logout by facebook js sdk.
Try our examples for using the sdk. Insert the following after your original fb init call. In your main project script add a shim declaration to the require config as shown. If you are using xfbml version of the facebook plugins on your site then you have to include facebook javascript sdk to enhance the performance and functionality of your plugins. Facebook login allows users to register or sign in to your app with their facebook identity.
Ask question asked 8 years 6 months ago. I tried to watch the other posts but i didn t find what i need.