Reputation: 19979
I'm working on a canvas app and am using the Graph api. There used to be in the REST api a post_authorize_redirect_url for a place to land someone after they first authorize your app (see here for http://developers.facebook.com/docs/appproperties/ ). Is there an analagous concept in current canvas app?
thx
Upvotes: 0
Views: 227
Reputation: 1986
There is not (anymore). You'll need to track yourself if the user has just authorized or is a returning user. Just check your database for the user id, which you are allowed to store. Of course you'll need to store the id at some point of your app.
Upvotes: 1
Reputation: 57572
With the Graph API, you use the redirect_uri parameter. For example:
http://www.facebook.com/dialog/oauth/?response_type=code&redirect_uri={URL}&scope=email&client_id=12345
Details available here: http://developers.facebook.com/docs/authentication/
Upvotes: 2