Android的Facebook的API错误:出事了,请再试一次 [英] Android Facebook API error: something went wrong please try again
问题描述
我很抱歉地重新发布了这个问题,但其他人被搁置没有任何理由,我有一个应用程序在那里,不会因为这个问题的工作,我尽快需要修复。
这是唯一的信息Eclipse和APP本身还对我说:
我已经开发了针对Android使用FB分享一个链接,当我与我的FB账号一切后的应用程序变细,但没有人看到这个职位!但是当我跟我的女友做它甚至没有张贴,给我回举杯说,错误和logcat的是这样的:
15 04-18:57:57.650:E /活动(16658):错误:com.facebook.FacebookException:错误消息发布
有,我这样做:
FacebookDialog shareDialog =新FacebookDialog.ShareDialogBuilder(Favorites.this)
.setDescription(XXXXXXXXXXXXXX)
.setApplicationName(XXX)
.setName(XXX)
.setPicture(imagesURL + filenames.get(位置))
.setLink(HTTP:// XXXXXXXXXX+ filenames.get(位置))
。建立();
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屋!