Facebook Graph API and app secret

Ricardo Otero

I have an iOS application that I'm logging to Facebook to ask for an access_token.

Then I pass this access token to my server and I want to get the '/me' information, using my appsecret_proof but I noticed that I can do it without appsecret_proof:

curl "https://graph.facebook.com/me?access_token=THE_ACCESS_TOKEN"

{"id":"658267751","name":"Ricardo Otero",
"first_name":"Ricardo","last_name":"Otero",
"link":"https:\/\/www.facebook.com\/oterosantos",
"hometown":{"id":"107911285910314","name":"Coimbra, Portugal"},
"location":{"id":"110432202311659","name":"Lisbon, Portugal"}...

Although I have set the option "App Secret Proof for Server API calls" to true:

facebook settings

So, shouldn't the requests require the app secret? I don't get it!

m-farhan

Every access_token depends on app and user so for different app and user combination you will have different access token so you don't need to worry. though I am no sure why are you doing it this way http://m-farhan.com/2014/03/ios-facebook-sdk-tutorial/ is the right way of doing this.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Graph API Facebook timeout

From Dev

Get app activity log using graph-facebook-api

From Dev

How to invite friends to facebook app via the Graph API

From Dev

Facebook Graph API: getting an access token with an app ID and secret

From Dev

New iOS App struggling with Facebook Graph api v2.0

From Dev

Get Users App-Scoped user id in Facebook Graph API

From Dev

Facebook graph API with websocket?

From Dev

Facebook Graph search API

From Dev

Facebook Graph API: manage my fanpage without app review?

From Dev

Facebook Graph api 2.2 - App scoped user id uniqueness

From Dev

Facebook Graph API Gender

From Dev

Facebook Graph API insights

From Dev

Graph API Facebook timeout

From Dev

Secret api Key Facebook and Twitter

From Dev

How to invite friends to facebook app via the Graph API

From Dev

Facebook graph API and Facebook groups

From Dev

Facebook Graph API - Issues with friends that have installed the app

From Dev

Post in feeds with Link Facebook Graph API (Titanium Studio app)

From Dev

Facebook Graph search API

From Dev

Facebook Graph API: manage my fanpage without app review?

From Dev

Get Facebook User Profile ID instead of App-Scoped user id in Facebook Graph API

From Dev

app token and secret key of a facebook app

From Dev

Define token for single call without app id+secret with Facebook SDK 4, Graph API 2.X

From Dev

Are the Facebook API Key and App Secret the same thing?

From Dev

Get Info about a secret Facebook Group via Graph Api

From Dev

Query app pictures through Facebook graph api

From Dev

Sharing or linking post using Facebook Graph API on windows forms app

From Dev

Facebook Graph API Upgrade

From Dev

App Engine API and Secret Key

Related Related

HotTag

Archive