Facebook invite friends

My game is live on google play and apple store but now invite friend is not working via this method

PluginFacebook::inviteFriends(

//“https://fb.me/322164761287181”,

https://fb.me/402104549959868”,

http://www.cocos2d-x.org/attachments/802/cocos2dx_landscape.png”);

so i switched to custom ui method but this method is not giving any single user to invite.

I added platform Facebook Web Games still i am not getting any user to invite.

Please help me to resolve this issue.

Facebook deprecated the “invitable_friends” feature.
This is due to the Cambridge analytica scandal.
So the best thing to do is not using it…

ok will do other option.

as Obj1 said, Facebook has deprecated the invite feature.

you can use share plugin to invite.

thanks, i implemented native share