Description not shown in Facebook ShareDialog

女生的网名这么多〃 提交于 2019-12-01 08:07:00

Facebook's publish_actions permissions reference states that it's not allowed to:

Pre-fill the user message parameter with any content the user didn't enter themselves, even if they can edit or delete that content before sharing. This applies to posts, comments, photo captions, and photo album captions.

I guess they decided to block the title and description parameters.

Though it is delayed answer. I have been through this recently and found out that it is not possible, even if its possible by any means, its not with Facebook Platform Policy. And specifically this policy.

Even when you do go to declaration, I got this

/** * Sets the user generated caption for the photo. Note that the 'caption' must come from * the user, as pre-filled content is forbidden by the Platform Policies (2.3). * * @param caption {@link java.lang.String} of a {@link com.facebook.share.model.SharePhoto} * @return The builder. */

   public Builder setCaption(@Nullable final String caption) {
        this.caption = caption;
        return this;
    }
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!