Issue
I have been exploring the Facebook documentations but still yet to find on how to Check-in or share place. Most answers were already deprecated and I need to implement using the updated Facebook SDK. Did I miss something in the Documentations? Or do I have to use third party applications??? Besides the primary way of Sharing using the SDK, I also know how to use ACTION_SEND on sharing media content on facebook, is it possible to insert a place parameter there?
Solution
If you are using facebook share button it'll be like this
ShareContent sharecontent = new ShareLinkContent.Builder()
.setPlaceId("141887372509674")
.build();
btnfacebookshare.setShareContent(sharecontent);
Put a placeID on ShareContents
There are also ShareContent subclasses you may use with setPlaceId() like SharePhotoContent, ShareVideoContent, and ShareOpenGraphContent.
It is not clearly stated on the documentations (https://developers.facebook.com/docs/reference/android/current/class/ShareLinkContent/) but with experimentations I came up with it
Answered By - Camelyn Fajardo Answer Checked By - Candace Johnson (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.