facebook - "shared a link via" is blank using Android FacebookShareDialog -


on user's facebook wall, when publish share using facebooksharedialog top line not show application name should. shows username shared link via . (note period , no application name). not issue on feed, affect others users if view wall directly.

blank application name in facebook share

here code using:

if (facebookdialog.canpresentsharedialog(getapplicationcontext(), facebookdialog.sharedialogfeature.share_dialog)) {                     facebookdialog sharedialog = new facebookdialog.sharedialogbuilder((activity) context)                         .setlink(constants.share_url)                         .setname(constants.share_title)                         .setcaption(constants.share_caption)                         .setapplicationname(getstring(r.string.app_name))                         .build();                     uihelper.trackpendingdialogcall(sharedialog.present());                 } else {                     final intent shareintent = baseutils.getshareintentforurl(constants.share_url, constants.share_title);                     intent.createchooser(shareintent, getresources().getstring(r.string.share_intent_title));                     startactivity(shareintent);                 }` 

so question is, how fill in application name in line? fills in appropriately in share posts when other users see on wall, know facebook share dialog "getting" name.

i have found known facebook bug, rather specific facebook android sdk, happens other apps well.

https://developers.facebook.com/x/bugs/640453342670536/

php stackoverflow question: posting user's wall facebook php sdk - how populate "shared link via blank"?


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -