Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Facebook SDK - invite friends to app

Discussion in 'Editor & General Support' started by Yaroslav1988, Oct 6, 2016.

  1. Yaroslav1988

    Yaroslav1988

    Joined:
    Oct 6, 2015
    Posts:
    13
    Hi!

    I'am trying to implement the system, where user is rewarded for each app invitation and i am using FB.Mobile.AppInvite to do this. But I'm facing the problem with determination which users were already invited to stop player from abuse this feature and invite same person multiple times.

    Problem is that callback IAppInviteResult doesn't give any information on which or how many users were invited. Does anyone have a tip to find out who was invited using FB.Mobile.AppInvite (by "who" i mean user id's)??? Or may be there is another solution to achieve the same result without AppInvite method ???


    Any help appreciated, Thanks!
     
    Menion-Leah likes this.
  2. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
  3. cuneytsn

    cuneytsn

    Joined:
    May 8, 2016
    Posts:
    1
    @Yaroslav1988 did you find the solution ? I googled around and didnt find anything useful. I also asked in Facebook Developer Community and didnt find an answer. Thats exactly what I need. When using FB.Mobile Appinvite() I just getting 1 line info which is "callback_id:2"..
     
  4. Yaroslav1988

    Yaroslav1988

    Joined:
    Oct 6, 2015
    Posts:
    13
    i found none and i think now that there is no any solution at all.
    Facebook doesn't give any api to perform custom invites by their design. I just changed my mind about using facebook unity SDK \ plugin in my apps. Its useless, buggy and very low-documented thing.
     
  5. cstlmode

    cstlmode

    Joined:
    Dec 2, 2014
    Posts:
    88
    yeah i've been though this too,facebook FB.Mobile Appinvite() will not give you much help ,
    it's weird , i've seen some games having custom invite system , with custom Ui , wondering how they did it
     
  6. Andrea_Marchetti

    Andrea_Marchetti

    Joined:
    Apr 23, 2017
    Posts:
    9
    You can't reward users for inviting their friends. It's a Facebook guideline.
     
  7. archelyte_vz

    archelyte_vz

    Joined:
    Aug 7, 2015
    Posts:
    3
    That's actually not entirely true. From the actual Facebook policy page:

    "It's against Platform Policy to incentivize invite sends; as an alternative, consider incentivizing invite accepts. You can use App Links here again to customize the incentive. For example: use an App Invites promo code with a deep link to key content, and then grab that promo code on app launch to give your new user an incentive to engage with your app!"
     
    ostap111 likes this.
  8. ostap111

    ostap111

    Joined:
    Sep 14, 2018
    Posts:
    3
    You can build a custom invite system which can work outside Facebook based on deep links. In that way, you'll be able to grow organically via multiple channels: WhatsApp, FB, Twitter, Messenger, email, SMS, etc. Once you have deep links in place, you can also build "invite a friend - get a reward" mechanics, personalize onboarding for invited users, build your own social graph.

    Here's a video from one of the apps, which used our GetSocial Smart Invites system for this. They also customized the UI to match Sonic's style.

    Disclaimer: I work at GetSocial. We released it as an asset on the store.
     
  9. Anilnikam

    Anilnikam

    Joined:
    Nov 4, 2020
    Posts:
    3
    I 'am trying to make the system in Unity, where user "invite a friend - get a reward" for each app invitation and I am using Firebase to do this. but I can't , any one help for this ??