Search Unity

Why "Invite friends on facebook" list contains only suggested friends ?

Discussion in 'Android' started by Alond, May 27, 2015.

  1. Alond

    Alond

    Joined:
    Dec 9, 2013
    Posts:
    12
    Hi everybody.
    I have a small problem that i hope someone here could help me with...
    Lately i added an "invite your friends on facebook" button to my game,
    The problem is that the friends list that pops up when pressing the button contain only 6, unselected, suggested friends while i need that it'll be the complete friends list and they're all selected by default.
    Any suggestions?
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    How did you implement the button? are you using the official Facebook SDK?

    Please note that starting with Graph API v2.0, the behaviour of retrieving your Facebook friends changed (see here: https://developers.facebook.com/docs/apps/changelog#v2_0_login)

    To quote:
    If you are retrieving the friend list then you're probably getting only the friends who use the app.
     
  3. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    Yep, long gone are the days you can invite all your friends to play :(