facebook - 400 Bad Request when implementing custom friend selector -
i'm trying implement custom multiple friend selector invite users game. list of users calling graph api call invitablefriends, , create ui it.
after user selects corresponding users, invitation tokens of users, , make call app request follows:
public void invitefriends(string message, string title, facebookdelegate callback, string[] = null, string data = "") { if (fb.isloggedin) { fb.apprequest (message, to, "", null, null, data, title, callback); } }
but when call made, i'm getting following error:
400 bad request unityengine.debug:logerror(object) fbdebug:error(string) facebook.fallbackdata:jsfallback(string) facebook.asyncrequestdialogpost:callbackwitherrorhandling(fbresult) facebook.<start>c__iterator0:movenext()
my callback function never called, can't see error is.
i'm using unity 4.3 & facebook sdk 5.1
thanks help!
edit: i'm pretty confident issue in parameter i'm passing invite tokens invitable graph call giving me, , not ids.
i tested interactiveconsole.cs example of friendsmash invitable token , failed. how can ids of invitable friends?
just check url request. may thing wrong it. or go https://developers.facebook.com/apps/{app-id}/app-details/ in "app info" section, choose proper category , sub category.
Comments
Post a Comment