Android的发布到Facebook墙,stream.publish因为几天破 [英] Android post to facebook wall, stream.publish broken since few days
问题描述
我必须使用FB Android SDK中发表了大量的应用程序
I have a lot of apps published using the FB android sdk
github.com/facebook/facebook-android-sdk
github.com/facebook/facebook-android-sdk
我的所有应用程序都使用FB停止,因为几天的工作。
这必然是一个改变或从侧面FB中的错误,因为没有在我的应用程序发生了变化,它的工作好几个月了。
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.
打开张贴消息(stream.publish),似乎不是用参数消息的对话框中,窗体打开但文本框为空!
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:
<一个href=\"https://m.facebook.com/dialog/stream.publish?message=test+message&app_id=\">https://m.facebook.com/dialog/stream.publish?message=test+message&app_id=....
在web视图中的文本输入emtpy!
The text input in the webview is emtpy!
有人有一个想法或变通方法来解决这个问题?
Somebody have an idea or a workaround to fix this issue?
推荐答案
曾经为过去几天同样的问题。貌似Facebook是德precating的流API:的http://开发商.facebook.com /文档/参考/ REST / stream.publish / ,不知道这有什么关系这一点。
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.
总之,切换到使用图形API的'饲料'方法为我工作。
Anyway, switching to using the Graph API's 'feed' method worked for me.
这篇关于Android的发布到Facebook墙,stream.publish因为几天破的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!