开发者

Facebook Requests Dialog on Mobile failed

Here is my source code:

FB.ui({method: 'apprequests', to: fbId, message: "hello"}, function(resp){
   if(resp.request_ids){
      $('#req-id').val(resp.request_ids);
        $('form').submit();
   } else {
       return false;
   }
});

And here is what I get when I run it in a browser with User Agent set to iPhone:

开发者_StackOverflow社区
An error occurred. Please try again later.

It also popup a window to display the message which is not wanted. I've tried to add "display:touch" parameter without any fortune.

Did anyone encountered this before?

Thanks, Green


Facebook Requests dialog is not available on mobile at this time. We are working on a mobile version. Please follow our blog to stay updated on when this launches.


Requests is now available on mobile. For more information see:

https://developers.facebook.com/docs/guides/mobile/web/


set useragent as it is a desktop browser and makes facebook be happy

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜