Registering App with Facebook
To register app in Facebook follow the link and create a new app. https://developers.facebook.com/Once we created the app you can see the app details in the dashboard and the screen that looks something like this.
Here we can notice the Appid and Appsecret for the created Facebook app. [Client ID & Client Secret]
When registering a client app to configure with OAuth we have need to consider 5 main parts, such as client ID, client secret, redirection endpoint, authorization endpoint and token endpoint.
|
We can give one/many redirection endpoint(s) to the app we are creating [Settings->Basic]. |
Authorization endpoint -> https://www.facebook.com/dialog/oauth
Token endpoint -> https://graph.facebook.com/oauth/access_token
Now you are having all the necessary properties.
Client ID | 2032416086987946 |
Client Secret | 1fd424a4b9dac1b9c8b28974cd0b87e6 [sample secret ID] |
Redirection endpoint | http://localhost:8080/my-web-app-2/callback.html |
Authorization endpoint | https://www.facebook.com/dialog/oauth |
Token endpoint | https://graph.facebook.com/oauth/access_token |
Comments
Post a Comment