简体   繁体   English

Android Facebook分享问题?

[英]Android Facebook share issue?

I am using android-facebook sdk to share to facebook. 我正在使用android-facebook sdk分享给facebook。 Sharing works fine. 分享工作正常。 But, i don't need the caption in the feed to share. 但是,我不需要在Feed中分享标题。 If i leave caption in json, it stil shows some arbitrary String. 如果我在json中留下标题,它会显示一些任意的字符串。 How can i solve it?. 我怎么解决呢?

Code i used to share. 代码我以前分享。

Bundle b = new Bundle();
b.putString("picture", imageUrl);
b.putString("message", imageDesc);
b.putString("description","Hai" );
b.putString("name","Show us something Beautiful");
b.putString("link",bitly);

If i give any caption it shows. 如果我给它显示任何标题。 The code with caption is 带标题的代码是

Bundle b = new Bundle();
b.putString("picture", imageUrl);
b.putString("caption", "image");
b.putString("message", imageDesc);
b.putString("description","Hai" );
b.putString("name","Show us something Beautiful");
b.putString("link",bitly);

How can i remove caption? 我该如何删除标题?

只需将“图片”和“消息”放入捆绑中......

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM