Showing posts with label App secret. Show all posts
Showing posts with label App secret. Show all posts

Friday, October 14, 2016

Create Facebook Access Token

Facebook provides “Access Token Tool” facility which can be used to generate access token for all the “Facebook App” which you have created.
“Access Token Tool” can be used for the following purpose : -
  1. Getting the new “Access Token”
  2. Debugging the “Access Token” (Here debugging term means checking the expiry of token, validity of token, scopes)
  3. Extend Access Token
We will take one step at a time. Let’s have look on our first point -
1. Getting the new “Access Token: – In our previous post we have seen “How to build your own facebook page” and created a app called “NewDemoApp”. Now here in this article we will create access token for the App “NewDemoApp”.
  • First step is we need to login to “https://developers.facebook.com”.
  • Once you logged-in into the facebook developer’s account goto “Tools & Support”.
screenshot-developers.facebook.com-2016-10-14-20-00-28
  • After clicking on the “Tools & Support” further down the screen you can see a link for “Access Token Tool”, please click on the link.
screenshot-developers.facebook.com-2016-10-14-21-06-41
  • Once you click on the “Access Token Tool” it will redirect you to new page and there you can find your facebook app “NewDemoApp” which you have created previously.
screenshot-developers.facebook.com-2016-10-14-21-08-16
  • Now you are alomost ready to create the access token for your app, just click on the link “need to grant permissions”
screenshot-{domain}-{date}-{time}
  • A pop-up message will appear on the screen with caption “Access Token created”
screenshot-developers.facebook.com-2016-10-14-21-14-53
  • Just click on continue and your access token is now ready. Please have a look the screencast below (Actual token is blurred due to security reason)
before-access-token-generation
after-token-generation
Conclusion : -
  1. In this article we have seen how to use “Access Token tool”
  2. Following the above steps you can generate the “Access Token” for your app
In the next article we will focus on “How to debug the Access Token?” and “How to Extend the Access Token Validity?”
Click on the below link for debugging and Exteding the access token validity

Build your own facebook app

Objective : – In this article we will have look on the new changes which facebook has made for the “Facebook GRAPH API”.
In this article we will have look on the detail steps which we need to follow to create “Facebook App” for website.
Steps: -
image
  • Click on the option “My Apps” and than select option “Add a New App”
image
  • A pop-up will appear on the screen on the pop-up you need to mention “Display Name”, “Contact Email” and choose suitable “Category”.
image
  • Once you “Create App” you will be redirected to “App Dhashboard”. Please have look on the below screen
image
  • Next important step would be to find the “App ID” and “App Secret”. To find those details just click on the “Dashboard” link below your app name e.g. “NewDemoApp”.
image
  • Next step would be to make your facebook app public to people, so that everyone can use your facebook app. To make the app public just click onto the link “App Review” and enable button located under “Make NewDemoApp public?”
image
image
Now you facebook application is ready with v2.8 version.
Conclusion:-
  1. Following the above steps you are now familiar with the “http://developers.facebook.com”
  2. After reading this article, now you can create your own facebook app with APP ID, App Secret.
Click Here: - How to create facebook access token?

Monday, July 27, 2015

Facebook app creation

This post is old. Please have a look at my new post "Build your own facebook app"

Objective: - The aim of this article is to walk you through all the steps which are required for the creation of "Facebook App".

Please go through the below steps for the facebook app creation:- 


  • Open the browser and goto "https://developers.facebook.com/" and login via your facebook account following page will get open

  • Just click on the My Apps and then click on the Add a New App link

  • After that you need to select the Facebook App type, whether you are going to create for Windows, Mac, Android or Web application. For our case we will choose the option WWW. Please look at the screen shot below

  • Now the next step would be to assign an unique name to your application and than click on Create New Facebook App ID.

  • After click on the Create New Facebook App ID you need to select the category for the Facebook APP. Just refer to the below screen shot and select the suitable category for it and click on the Create APP ID



  • Next step would be you need to specify the URL of your application. If you are a developer and working on your development machine than you can specify either http://localhost or http://127.0.0.1. If you are have custom domain than you can specify that one also Ex. http://www.example.com. Please refer to the follow screen shot

  • Once you click on the Next button your Facebook APP creation is done. You will get the following message on the screen 

  • Now again refresh the URL : - https://developers.facebook.com/ and goto My Apps - > DummyTestApplication


Above post is old. Please have a look at my new post "Build your own facebook app"