Facebookアプリを開始しています。 Getting Started tutorial in the Authorization sectionに続いて、それは私がユーザーからの許可を取得するには、このURLを使用する必要があります言う:facebookアプリのOAuthダイアログを使用すると、redirect_uriとしてキャンバスURLを使用できません
https://www.facebook.com/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=YOUR_CANVAS_PAGE
私は私のキャンバスURL、私は私のアプリの設定で参照1とYOUR_CANVAS_PAGEを交換しています:
https%3A%2F%2Fapps.facebook.com%2F238620302882463%2F
しかし、私はそのページに移動した場合、その後、私は次のエラーを取得する:
An error occurred with Elecciones 2012. Please try again later.
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.
私はYOUR_CANVAS_PAGEを交換する場合:
http%3A%2F%2Fwww.example.com%2FElecciones2012
権限ダイアログが正常に機能します。しかし、その後、私は自分のウェブサイトにリダイレクトされます。facebook.com内のアプリではありません。
なぜこのようなことが起こっていますか?
私は別の許可ダイアログを使用して他のアプリを見てきました:
http://www.facebook.com/connect/uiserver.php?app_id=11609831134&method=permissions.request&redirect_uri=http%3A%2F%2Fapps.facebook.com%2Fpetsociety%2F%3Fpf_ref%3Dsb%26ref%3Dts&response_type=none&display=page&perms=email%2Cpublish_actions&auth_referral=1
しかし、それは、APIの別のセットの一部であるに見えます。