facebook-android-sdk icon indicating copy to clipboard operation
facebook-android-sdk copied to clipboard

Hashtag is not showing on photoshare dialog

Open sankar07 opened this issue 7 years ago • 2 comments

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);

sankar07 avatar Sep 04 '19 02:09 sankar07

ขอบคุณ

thanakitskp avatar Sep 22 '19 15:09 thanakitskp

This should be fixed.

jingping2015 avatar Oct 30 '19 01:10 jingping2015