I am following the Sharing a link using API calls example on the Facebook Developers site. I am attempting to incorporate the sample publishStory()
method into my Fragment
. However I am missing the boolean pendingPublishReauthorization
and a list PERMISSIONS
.
I cannot find previous examples that refer to these variables on the developer site. Has anyone else encountered this, or do they know what these variables are supposed to refer to?
I imagine I can just declare the boolean. I am more concerned about the list.
I have found the solution on another Stackoverflow Post
In short, these variables are simply declared. The
boolean
is initialized tofalse
, andPERMISSIONS
is initialized with aString
I was also missing the private method
isSubsetOf