Jump to content
  • Advertisement
Sign in to follow this  

Is "Invite friend to this server" possible using Facebook?

This topic is 990 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


I can't seem to find enough info and Facebook API/SDK seems a huge mess. I'm making a mobile game. What I want to do is add an in-game button "Invite friend to this server". When player clicks it, he would be asked to pick friends from his friends list. After that, they would get a deep-linked(I guess?) invite. After they accept it, if they don't have my game installed, they would be redirected to the app store and if they do have, the game would open up. After the game opens up, check if any invite was made and accepted. If it there was, connect to the specified server from the deep link.

Is it even possible using Facebook API/SDK or am I fantasising? Any tips or useful links?

Edited by zgintasz

Share this post

Link to post
Share on other sites
Yeah, your flow sounds exactly like something we've done where I work (we didn't use the post metadata to join a server, we used it to track what ratio of players actually followed those links).

I didn't work on it, so I don't remember the details of which calls you need to make, but I remember it works just like that. Sorry! I just know that it should be possible.

I'll do a quick search of what sounds familiar.




(see the ?referral=12345 stuff; I think that's where you can place your server join information)

See the "Handling incoming links" sections of these pages:
https://developers.facebook.com/docs/applinks/android Edited by Nypyren

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!