jigar
jigar

Reputation: 307

Facebook SDK 4.0 app invite android

I was using below code for app invitation.

if (AppInviteDialog.canShow()) {
AppInviteContent content = new AppInviteContent.Builder()
            .setApplinkUrl(appLinkUrl)
            .setPreviewImageUrl(previewImageUrl)
            .build();
AppInviteDialog.show(this, content);
}

every time i run code i got nothing. no error or no warning nothing

I followed App invite link but get no result after facebook login screen. Any idea what wrong with this?

Upvotes: 0

Views: 720

Answers (1)

VadymVL
VadymVL

Reputation: 5566

Your appLinkUrl must be AppLink url, not just link to your app. (Yeah, it is confusing, but I have faced with this on my own experience). If you dont have one, you can create it here.

Upvotes: 2

Related Questions