sromku / android-simple-facebook

[Deprecated] Simple Facebook SDK for Android
Other
878 stars 349 forks source link

Posting to pages #437

Closed Pamblam closed 7 years ago

Pamblam commented 8 years ago

I wrote my whole app using this library and now I realize that I can't continue with it as it doesn't provide a way to post to a page a user manages. This sort of make the whole /accounts endpoint useless.

I thought I could mix FB's proprietary SDK with this one, but I can't get the current access token from simple-fb for use with the standard FB library.

In the short term, please expose the access token, in the long term, please provide method to switch from /me to a specified account id.

Pamblam commented 8 years ago

I found getAccessToken() but it's returning null...

Pamblam commented 8 years ago

Seems like the access token was available in the Standard SDK even though it was set in simple-fb. I was able to make it work using the standard FB SDK via AccessToken.getCurrentAccessToken()