Android发布到Facebook墙,stream.publish几天以来破碎 [英] Android post to facebook wall, stream.publish broken since few days
问题描述
我有很多应用程序使用FB android sdk发布
github.com/facebook/facebook-android-sdk
使用FB的所有应用程序从几天起都停止工作。
这一定是FB方面的变化或错误,因为我的应用程序没有任何变化,它工作了好几个月。
打开发布的对话框一个消息(stream.publish)似乎没有使用parammessage,表单打开,但文本框为空!
Bundle parameters = new Bundle();
parameters.putString(message,test message);
mFacebook.dialog(Example.this,stream.publish,参数,新的SampleDialogListener());
使用调试我看到带有message参数的URL:
https://m.facebook .com / dialog / stream.publish?message = test + message& app_id = ....
webview中的文本输入是emtpy! / p>
有人有解决这个问题的想法或解决方法?
在过去几天也有同样的问题。看起来Facebook不赞成使用Stream API: http://developers.facebook.com /docs/reference/rest/stream.publish/ ,不知道这是否与此有任何关系。
无论如何,切换到使用Graph API 'feed'方法适用于我。
I have a lot of apps published using the FB android sdk
github.com/facebook/facebook-android-sdk
All my applications that use FB stopped working since few days. This is necessarily a change or a bug from FB side, because nothing has changed in my applications, It worked for months.
The dialog that opens to post a message ("stream.publish") seems not use the param "message", the form opens but the text box is empty!
Bundle parameters = new Bundle();
parameters.putString("message", "test message");
mFacebook.dialog(Example.this, "stream.publish", parameters,new SampleDialogListener());
Using debug I saw the URL with the "message" param:
https://m.facebook.com/dialog/stream.publish?message=test+message&app_id=....
The text input in the webview is emtpy!
Somebody have an idea or a workaround to fix this issue?
Had the same problem for the last few days. Looks like Facebook is deprecating the Stream API: http://developers.facebook.com/docs/reference/rest/stream.publish/, not sure if this has anything to do with that.
Anyway, switching to using the Graph API's 'feed' method worked for me.
这篇关于Android发布到Facebook墙,stream.publish几天以来破碎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!