agustinaliagac
agustinaliagac

Reputation: 849

Facebook Android sdk Game Request Dialog shows "Game Requests are only available to games"

I'm updating my android app to the latest Facebook SDK (4.0.0). When I create a GameRequestDialog, it shows me this message: "Game Requests are only available to games", instead of showing my facebook friends. I was using WebDialog before in the older sdk and this didn't happen. I tried using WebDialog in sdk 4 but it still shows me this message.

UPDATE: here's the logcat output

{FacebookServiceException: httpResponseCode: -1, facebookErrorCode: 3405, facebookErrorType: null, message: Game Requests are only available to games.}

Upvotes: 2

Views: 8129

Answers (1)

VadymVL
VadymVL

Reputation: 5566

You must set your Facebook app as a game category, in the App settings. Otherwise, you can't use GameRequestDialog, because your app is not a game. In this case, Facebook gives you AppInviteDialog.

Upvotes: 6

Related Questions