Im developing an android application which will upload and share a photo from my app to my facebook timeline, how can i do this? See image :
I've been taking too much time reading the facebook docs, but found no luck, also i tried this very useful library by Mr. Roman Kushnarenko from git hub, but it doesn't support the upload via dialog. can you help me guys? Thanks :)
Currently by using android-simple-facebook library you can upload a photo to your facebook timeline without using dialog.
This is how you can achieve this: Set
OnPublishListener
and call forpublish(Photo, OnPublishListener)
.Don't forget to set
PERMISSIONS.PUBLISH_STREAM
in your configuration. See: configuration partPublishing photo by using dialog will be pushed soon to the master branch. I will update this answer to this question, once it will be pushed.