开发者

Facebook mobile web OAuth issue

I'm seeing a problem requesting permissions with Facebook connect on iPhones. Everything h开发者_如何学Goad been working fine and then it just started out of nowhere. I can't seem to sort it out, so I posted it here to see if anyone's experiencing the same issues? I'm trying to log users into a mobile website and here's what I'm seeing:

  1. On Android, everything is A-OK, as are regular web browsers.
  2. On the iPhone 3, users get the login page ok, but are not redirected to the request permissions page, just to mobile facebook. If they leave and come back and click on the login button again, they are taken to the request permissions page, and after they allow/don't allow, they are taken back to our site. This is also the same for iPad users
  3. On the iPhone4, users get the login page ok, but are not redirected to the request permissions page, just to mobile facebook. If they leave and come back, they are taken to the mobile facebook site and never are prompted for their permissions.

Highlights:

  1. Everything was fine 3 weeks ago
  2. Everything is still fine on Android using the very same FBConnect url, but it blows on iOS
  3. What happens on iPhone 3 is different that what happens on iPhone 4

I've tried doing this with 3 different urls, but StackOverflow will only let me put 2 in here because I'm a new user:

http://www.facebook.com/dialog/oauth?client_id=[OUR_CLIENT_ID]&redirect_uri=[OUR_URL]&display=wap&scope=email,user_location,read_friendlists,publish_stream,offline_access

http://m.facebook.com/dialog/oauth?client_id=[OUR_CLIENT_ID]&redirect_uri=[OUR_URL]&perms=email,user_location,read_friendlists,publish_stream,offline_access";

The other URL was similar to these, but used the graph API

Anyone have any ideas?

Thanks!


Facebook has since removed the WAP interface and replaced that with Javascript SDK interfaces for Android and iOS, and now normal wap enabled phones have been shut out.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜