I'm trying to send App Requests from my game (made with Unity3D) using the official facebook plugin. I can login, post on wall and use graph api without problems, so I know that I'm on the right way, but when I try to send App Request the callback functions seems to never been called on my android phone. On unity3d player instead I get this error log:
400 Bad Request
UnityEngine.Debug:LogError(Object)
FbDebug:Error(String)
Facebook.FallbackData:JSFallback(String)
Facebook.AsyncRequestDialogPost:CallbackWithErrorHandling(FBResult)
Facebook.<Start>c__Iterator0:MoveNext()
I'm trying to send app requests with this code:
FB.AppRequest(
message: "Hi! I'm playing Grave Run for Android! Download it from Google Play :)",
title: "Play Grave Run with me!",
callback: RequestCallback);
Maybe I'm missing some permissions ?? here is how I login:
FB.Login("read_friendlists,publish_actions", LoginCallback);
Many thanks for the help !