2

Facebook SDK 中不允许激励分享,但允许激励签到。

但是,签入功能在 SDK 文档中已被弃用,他们说它已添加到共享对话框中,但没有关于如何执行此操作的文档。

我已经搜索了整个 SO 和互联网无济于事。我的共享对话框工作正常,但它只是不会在该地方签到。

使用 Android Facebook SDK 在某个地点签到的批准方式是什么?

这是我当前的 ShareDialog 代码...

 Bitmap image = bitmap;
                    SharePhoto photo = new SharePhoto.Builder()
                            .setBitmap(image)
                            .build();
                    SharePhotoContent content = new SharePhotoContent.Builder()
                            .addPhoto(photo)
                            .setShareHashtag(new ShareHashtag.Builder()
                                    .setHashtag(hashtag)
                                    .build())
                            .build();

                    ShareDialog.show(ShareActivity.this, content);
4

0 回答 0