I am struggling with the new Facebook graph API, maybe anyone here can help.
What do I have to do: Provide a 'login w / fb' button, throw / authorize, get a code, throw at / access_token, get an access_token, and about the user Be able to hit for information.
When I try to use type = client_cred in the / authorize call, I get an access_token which allows me to kill url with user id or names, but / not tell me this Receives an error that I need a valid token.
If I can not hit, how will I know who the current user is?
Type the absolute if I want a user to access any user data? I have seen the post with type = web_server etc., but I can not find a certain fire route to do this, what I think is very simple ...
Thanks for any time help Provided ...
When I authorize / type in type = client_cred Call me try, I get an access_token which allows me to kill the URL with user IDs or names, but not / I get an error stating that I need a valid token.
client_cred
is targeted to validate your app that this is actually an app, it can be used to access Facebook's Real-Time Update API Is done for. It provides no user authentication.
You will have to follow Facebook, it does not use the type
parameter in any way you will:
- The user has a callback URL Sending with the set.
- If the user is right, they will be sent with verification to your callback url. String as URL parameter
- You take that verification string and request an access token from
. This access token allows you to act as a user and me
url.
Comments
Post a Comment