Friday, 15 July 2011

android - Using Facebook SDK ShareDialog to share message and photo -


I am using Facebook SDK for Android, because I want users to have an image generated in the app Should share + a message I already want to set as a suggestion.

I tried to use the new ShareDialog , but in some way I can not find any way to share photos and messages. FacebookDialog.PhotoShareDialogBuilder lets you share photos from the device, but no messages, while FacebookDialog.ShareDialogBuilder lets you share only one link.

What can I use instead? Should I go away from using the share dialogue?

You can create alert dialogs and edits within it, then allow you to add your comment to the user You can.

For the image, you can get image path for file storage and load it as bitmap.

Then create a bundle with the above comment and image and send a post FB API with valid and opened session.


No comments:

Post a Comment