facebook-android-sdk
facebook-android-sdk copied to clipboard
Hashtag is not showing on photoshare dialog
I am trying to implement facebook share in my application. I would like to share a photo along with a hashtag. I am using SharePhotoContent for this. The hash tag i have mentioned is not coming in the share dialog window also in the post too. Is it possible to share photo with hashtag in facebook? Please check the below code.
Bitmap image = BitmapFactory.decodeResource(getResources(), R.drawable.puppy);
SharePhoto photo = new SharePhoto.Builder()
.setBitmap(image)
.build();
SharePhotoContent content = new SharePhotoContent.Builder()
.addPhoto(photo)
.setShareHashtag(new ShareHashtag.Builder()
.setHashtag("#ConnectTheWorld")
.build())
.build();
shareDialog.show(content);
ขอบคุณ
This should be fixed.