AppInviteDialog for fb users is not working in android above 6.0

246 Views Asked by At

I want to invite Facebook users. I used below code it is working fine for below android version 6.0. It is performing facebook login after login it is not displaying the friend's list.

Here is my code

        if (AppInviteDialog.canShow()) {
            AppInviteContent content = new AppInviteContent.Builder()
                    .setApplinkUrl(appLinkUrl)
                    .setPreviewImageUrl("http://app.tweakvideos.com/image")
                    .build();
            AppInviteDialog.show(this, content);
        }

Please help me to resolve this issue.

0

There are 0 best solutions below