简体   繁体   English

Facebook非朋友不能喜欢iOS应用中的公开帖子

[英]Facebook non friend cannot like public post from ios app

[Facebook requestWithGraphPath:@"1000029327084_2428832476/likes" andParams:params andHttpMethod:@"POST" andDelegate:nil];

This is what I do for posting my like to Facebook. 这是我将自己的喜欢的照片发布到Facebook上所做的工作。 This works fine only for friends even if the post is public. 即使帖子是公开的,这也仅对朋友有效。 That is non friends cannot like any posts and got an error 210: 那是非朋友不能喜欢任何帖子,并得到一个错误210:

{
   "error": {
"message": "(#210) User not visible", 
"type": "OAuthException", 
"code": 210
}
} 

any idea for this problem? 对这个问题有什么想法吗?

That's almost certainly the user's privacy settings - mine are set such that even on Public posts, only friends-of-friends can interact with them - what did the Post's details say about your ability to like or comment on the post? 几乎可以肯定,用户的隐私设置-我的设置是这样的,即使在公开帖子中,也只有朋友可以与他们互动-帖子的详细信息说明了您喜欢或评论该帖子的能力? IIRC there's a boolean value returned IIRC返回一个布尔值

Check if your app has any user restrictions set in the App Dashboard. 检查您的应用程序是否在“应用程序仪表板”中设置了任何用户限制。 Ensure the user-ids are not subject to the restrictions you have set. 确保用户标识不受您设置的限制。

Check if FB has placed any restrictions on your app (eg. Mobile Web integration is blocked by FB). 检查FB是否对您的应用设置了任何限制(例如FB阻止了Mobile Web集成)。 If so, resolve them. 如果是这样,请解决它们。

Set the "iPhone App Store ID" in the App Dashboard. 在应用程序面板中设置“ iPhone App Store ID”。 You can enter a fake one like 123456, for testing/development. 您可以输入假冒产品(例如123456)进行测试/开发。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM