Facebook / v2.1 / oauth / authorize don't redirect to / v2.1 / dialog / oauth
I am trying to move the canvas-app to v2.1 api. So when the user authorizes the application, I send
[protocol: //] graph.facebook.com/v2.1/oauth/authorize?client_id=XXXX&scope=&redirect_uri=XXXXX
and got a redirect to
[Protoco: //] www.facebook.com/dialog/oauth?client_id=XXXX&scope=&redirect_uri=XXXXX
which is the API version 1 dialog
I expect to get the API version 2.1 dialog
[protocol: //] www.facebook.com/v2.1/dialog/oauth?client_id=XXXX&scope=&redirect_uri=XXXXX
How can I contact him?
source to share
We faced the same problem. We fixed it by simply linking directly to the new url:
https://www.facebook.com/v2.1/dialog/oauth?client_id=XXXX&scope=&redirect_uri=XXXXX
source to share
Are you sure you have followed all the steps in
https://developers.facebook.com/docs/apps/upgrading#upgrading_v2_0_login
below Update web apps for login ?
source to share
[Protocol: //] graph.facebook.com/v2.1/oauth/authorize?client_id=XXXX&scope=&redirect_uri=XXXXX
and got a redirect to
[Protoco: //] www.facebook.com/dialog/oauth?client_id=XXXX&scope=&redirect_uri=XXXXX
this is a dialog from API version 1
I expect to get the API version 2.1 dialog
[Protocol: //] www.facebook.com/v2.1/dialog/oauth?client_id=XXXX&scope=&redirect_uri=XXXXX
how can i get to it?
share to improve this question We faced the same problem. We fixed this by simply linking directly to the new URL:
https://www.facebook.com/v2.1/dialog/oauth?client_id=XXXX&scope=&redirect_uri=XXXXX
share improve this answer answered Mar 28, 15 at 12:39 am
Kcoder 2 689 β 22 gold badges β 2727 silver badges β 4444 bronze badges before voting 0 vote against Are you sure you have followed all the steps on
https://developers.facebook.com/docs/apps/upgrading#upgrading_v2_0_login
below Updating web applications for login?
share improve this answer replied Oct 9 '14 at 14:46
Tobi 29.6k β 77 gold badges β 4646 silver badges β 8585 bronze badges 1 yes. Note that the redirect: graph.facebook.com/v2.1/oauth/authorize to www.facebook.com/v2.1/dialog/oauth is a Facebook internal redirect. - October 10 October 14 at 11:14 add a comment
source to share