The Facebook SDK for JavaScript is loaded by making an asynchronous call from your web page. This page will use the Facebook integration features mentioned above. Nce you create a Facebook app, create a new website in any development tool of your choice (Visual Studio, for example) and add an HTML page to it. The App ID obtained is used during initializtion of the Facebook SDK for JavaScript. You can grab this App ID from the dashboard of the newly created (or existing) app. All you need to work through the remainder of this article is an App ID – a numeric identifier for a Facebook app to be integrated into your website. We won’t go into too much detail of the app creation process. The following figure shows the initial dialog for creating an app. You need to visit and create an app using the “Create a New App” option. Creating a Facebook app is a straightforward process. The end users subscribe to this app and wall posts (if any) are made on behalf of this application. The first step involved in using the Facebook SDK for JavaScript is to create a Facebook App. To that end this article shows you how to implement Facebook authentication, how to retrieve a user’s details, such as user name and profile picture, and also illustrates how to post on the user’s wall. The Facebook SDK for JavaScript provides functionality that can be consumed from the client side script to leverage such an integration. Features such as Facebook authentication, displaying Like or comments widgets, posting something on a user’s wall are parts of this integration. Now-a-days many websites provide Facebook integration to enhance the user experience.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |