我想用我的Android应用程序在Facebook上分享图像。我使用此代码:在Facebook上共享[Android]
SharePhoto photo = (SharePhoto)new SharePhoto.Builder().SetBitmap(bitmap).Build();
SharePhotoContent content = new SharePhotoContent.Builder()
.AddPhoto(photo)
.Build();
_fbShareButton.ShareContent = content;
问题是我只能从我创建Facebook应用程序的帐户发布。登录到另一个帐户后,共享窗口不会出现。
该应用程序在Facebook开发者帐户上在线。
在此先感谢! :)
如果您使用ShareDialog,请尝试使用Mode.WEB –
如何使用Mode.Web? – bigjoe1
shareDialog.show(content,Mode.WEB); –