开发者

Android Facebook share issue?

开发者 https://www.devze.com 2023-02-13 04:16 出处:网络
I am 开发者_如何学运维using android-facebook sdk to share to facebook. Sharing works fine. But, i don\'t need the caption in the feed to share. If i leave caption in json, it stil shows some arbitrary

I am 开发者_如何学运维using android-facebook sdk to share to facebook. Sharing works fine. But, i don't need the caption in the feed to share. If i leave caption in json, it stil shows some arbitrary String. 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?


just put 'picture' and 'message' in the bundle...

0

精彩评论

暂无评论...
验证码 换一张
取 消