开发者

Android FBConnect: unable to get extended premissions

开发者 https://www.devze.com 2022-12-27 20:29 出处:网络
when I login in and try get extended premissins dis开发者_运维问答plays \"You must be logged in to Facebook to use this feature\".

when I login in and try get extended premissins dis开发者_运维问答plays "You must be logged in to Facebook to use this feature". How can I get extended premissions for posting messages in facebook?


Haven't used Facebook Connect on the Android yet, but I have used it on a website. I'm thinking they are similar. I have two suggestions:

  • Use streamPublish() instead of extended permissions -- although this will pop up a dialog every time you call it, or
  • If you really have to use extended permissions, you have to call requireSession() before asking for permissions, to log the user in.

As I said, this is the way this should be done using Facebook Connect on a website. I'm not sure it's the same on Android, but I'm guessing it is.

0

精彩评论

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