Android Facebook API错误:出现问题,请重试 [英] Android Facebook API error: something went wrong please try again
问题描述
这是唯一的信息提示和我的应用:
我开发了一个应用程序对于使用fb共享链接的Android,当我与MY fb帐户共享一个帖子一切顺利,除了没有人看到这个帖子!但是当我使用我的gf,它甚至不发布它,并给我一个吐司,说错误和logcat是这样的:
04-18 15:57:57.650:E / Activity(16658):错误:com.facebook.FacebookException:发布消息错误
那里,我这样做:
FacebookDialog shareDialog = new FacebookDialog.ShareDialogBuilder(Favorites.this)
.setDescription(xxxxxxxxxxxxxx)
.setApplicationName(xxx)
.setName(xxx)
.setPicture(imagesURL + filenames.get(location))
.setLink(http:// xxxxxxxxxx+ filenames.get(location))
.build();
uiHelper.trackPendingDialogCall(shareDialog.present());
在我看来,唯一可能的原因是,应用程序仍然位于开发 模式中。如果是这样,除了您和其他管理员/测试人员/开发人员;没有人可以看到该帖子,也无法通过您的应用发布帖子。
要将您的应用模式更改为直播应用设置 -
i'm sorry to repost this question, but the other one was put on hold for no reason and i have an app out there that doesn't work because of this problem, and i need a fix as soon as possible.
THIS IS THE ONLY INFO ECLIPSE AND THE APP ITSELF GIVES TO ME:
i've developed an app for android that uses fb to share a link, when i share a post with MY fb account everything goes fine, except that no one sees that post! but when i do with my gf's it doesn't even post it and gives me back a toast saying that error and logcat is this:
04-18 15:57:57.650: E/Activity(16658): Error: com.facebook.FacebookException: Error publishing message
there, i do this:
FacebookDialog shareDialog = new FacebookDialog.ShareDialogBuilder(Favorites.this)
.setDescription("xxxxxxxxxxxxxx")
.setApplicationName("xxx")
.setName("xxx")
.setPicture(imagesURL+filenames.get(location))
.setLink("http://xxxxxxxxxx"+filenames.get(location))
.build();
uiHelper.trackPendingDialogCall(shareDialog.present());
The only possible reason seems to me is that, your application is still in the development mode. If so, besides you and other administrators/testers/developers; no one can see the post and also can't publish a post via your app.
To change the mode of your app to live in the app settings-
这篇关于Android Facebook API错误:出现问题,请重试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!