Invite friends to a mobile application

I am currently developing a mobile application that allows a user to log in via facebook. This allows the application to show which facebook user is already using the application.

The next thing I want to do is let the user send an invitation about the application to friends of other friends who are not yet using the application. I saw that many other applications do this by sending a message to a friend’s wall. I think this approach is too intrusive. I like the aproach path by sending a notification, as seen in the following screenshot.

enter image description here

What API call should I use to achieve this? I tried with apprequests . but so far no luck.

Thank you for your help.

+4
source share
1 answer

Apprequests is the right way to do this, but your request will only appear in the facebook ios application, because you only have a “connected” iOS application in the parameters of your facebook application (https://developers.facebook.com/apps/). You need the app on facebook.com for it to work.

0
source

Source: https://habr.com/ru/post/1387776/


All Articles