简体   繁体   English

使用 sso 在 facebook 墙上发帖

[英]posting on facebook wall using sso

I am making an application that requires facebook integration using Single Sign On.我正在制作一个需要使用单点登录进行 facebook 集成的应用程序。 I have successfully integrated and got my friends list.我已经成功整合并获得了我的好友列表。 But not able to posting message on wall.但无法在墙上发布消息。 while posting message giving me error:在发布消息时给我错误:

An error occurred with Single Sign On.单点登录发生错误。 Please try again later.请稍后再试。 API Error Code: 11 API Error Description: This method is deprecated Error Message: Display=wap dialogs have been deprecated. API 错误代码:11 API 错误描述:此方法已弃用 错误消息:Display=wap 对话框已弃用。 You can temporarily enable them by disabling the "july_2012" migration.您可以通过禁用“july_2012”迁移来临时启用它们。 They will stop working permanently on July 1, 2012.他们将于 2012 年 7 月 1 日永久停止工作。

Any help will be appreciated.任何帮助将不胜感激。

Thanks.谢谢。

Do you want to actually temporarily enable the changes?你真的想暂时启用更改吗?

If so...如果是这样...

  • go to your app's Facebook page which is https://developers.facebook.com/apps when you are logged into Facebook go 到您的应用程序的 Facebook 页面,即https://developers.facebook.com/apps当您登录到 Facebook
  • Click "Ëdit App" (near top right corner),点击“Èdit App”(右上角附近),
  • Under Settings (left column) click "Advanced",在设置(左栏)下单击“高级”,
  • Scroll down to the "Migrations Settings" section.向下滚动到“迁移设置”部分。
  • Enable the "July 2012 breaking changes" (2nd from bottom in the Migrations Settings section)启用“2012 年 7 月重大更改”(“迁移设置”部分底部倒数第二个)

Doing the above will only temporarily solve your problems (by the look of it until July 1st 2012).执行上述操作只会暂时解决您的问题(看起来直到 2012 年 7 月 1 日)。 I recommend looking at the examples in the facebook-android-sdk (available at Git Hub) .我建议查看 facebook-android-sdk (位于 Git Hub)中的示例。 While I have had problems with some aspects of the Hackbook example, I have found the wall posting code to work well.虽然我在 Hackbook 示例的某些方面遇到了问题,但我发现墙贴代码运行良好。

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

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