facebookarchive/friendsmash-unity

400 Bad Request invitable_friends

Closed this issue · 9 comments

Hi

The projects works but I get a 400 Bad Request because of this part :
,invitable_friends.limit(100).fields(first_name,id,picture.width(128).height(128))

on the meQueryString initialisation.

Removing it, and keeping only :
//string meQueryString = "/v2.0/me?fields=id,first_name,friends.limit(100).fields(first_name,id,picture.width(128).height(128))";

works and I don t get any error 400 but I miss half of my friends.

How can I fix that ?

I have same problem. Any fix for this?

Which platform are you seeing this on? Also, which version of Unity and which version of the Facebook Unity SDK are you using? Thanks.

Android, Unity 4.5.2f1
Facebook plugin try 5.1 and 6.0

2014-08-19 21:54 GMT+04:00 andyborrell notifications@github.com:

Which platform are you seeing this on? Also, which version of Unity and
which version of the Facebook Unity SDK are you using? Thanks.


Reply to this email directly or view it on GitHub
#16 (comment)
.

The invitable_friends connection is only readable for apps that have a Games on Facebook URL configured. See https://developers.facebook.com/docs/games/invitable-friends/v2.1 for details. Please verify that your app is appropriately configured.

pkivalin, are you deploying your game to Canvas? If so would you be able to share a link to the page so I can reproduce the issue. Thanks.

I have same issue. Permission is "email,publish_actions,read_friendlists,user_friends", app category is Games and all another FB methods work fine. Here is my settings: http://goo.gl/ZkS3JI I get full invitable friends list with graph api explorer (GET, /v2.2/me/invitable_friends) but if I use unity fb sdk:
FB.API ( "/me/invitable_friends",
Facebook.HttpMethod.GET,
Callback);
so I get 400 Bad Request

Same issue as well. I logged a bug with Facebook, hopefully there will be some movement on this soon. If anyone has an answer I'm all ears :)

https://developers.facebook.com/bugs/411068479069082

This has been resolved in the latest v7.0.1 and v7.0.2 Beta releases.
See: https://developers.facebook.com/bugs/1493972094150167/

Download the beta release here: https://developers.facebook.com/docs/unity/downloads#beta