Facebook Canvas iFrame App - Authorizing users with new OAuth protocol

Posted by Rick on Stack Overflow See other posts from Stack Overflow or by Rick
Published on 2010-04-29T16:47:58Z Indexed on 2010/04/30 6:17 UTC
Read the original article Hit count: 635

Filed under:
|
|
|
|

Hi,

I'm developing a new Facebook Canvas application within an iFrame and trying to authorize users. The new OAuth api recommends I do a redirect to the following to authorize a user in my app:

https://graph.facebook.com/oauth/authorize? client_id=...& redirect_uri=http://www.example.com/oauth_redirect

However this produces a weird problem where a full Facebook page requesting permissions from the user is rendered within the iFrame itself (i.e. facebook within Facebook). Does anyone know how to solve this with the new OAuth API as I don't want to start using old REST API methods.

Thanks, Rick

© Stack Overflow or respective owner

Related posts about facebook

Related posts about oauth