2

为了在用户墙中发布,我已经向我的应用程序要求 publish_actions,但它被拒绝了,因为(据说)Facebook 不需要 publish_actions。

但我正在尝试使用共享对话框通过以下代码共享图片:

SharePhoto photo = new SharePhoto.Builder()
                .setBitmap(bitmapLogoPhoto)
                .setCaption("Teste")
                .build();

        SharePhotoContent photoContent = new SharePhotoContent.Builder()
                .addPhoto(photo)
                .build();

        //shareDialog.show(photoContent, ShareDialog.Mode.FEED);

        shareDialog.show(photoContent,ShareDialog.Mode.WEB);

...而且,即使它适用于测试用户,我在使用真实用户时从 Facebook 收到以下错误消息:

{FacebookGraphResponseException:(#200)需要扩展权限:publish_actions httpResponseCode:403,facebookErrorCode:200,facebookErrorType:OAuthException,消息:(#200)需要扩展权限:publish_actions}

问题是什么?我怎样才能让它正常工作?

4

0 回答 0