我想用我的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); –