Topic-icon Game Requests are only available to games.

Active Subscriptions:

None
I configured JFBConnect. Breakout canvas is OK. But when I click on the invitebutton I get a popup with: Game Requests are only available to games.
What do I wrong?
best wishes
fred
The topic has been locked.
Active Subscriptions:

None
8 years 6 months ago #54841 by ProjectAware
Wow. I was just about to search for that very phrase, when I noticed Fred has asked this question, just earlier today.

Actually, I have a double problem. What I am trying to do is to put a list of an FB logged-in user's friends on the site, so that they can choose which friends they want to inform about our site. I would have thought that this would have been a common and easy option to use with JFBConnect.

If I click the link created by the tag {JFBCRequest request_id=1 link_text=Invite Friends}, I get 'The parameter app_id is required'.

The request with the id of 1 appears to be configured correctly (although I am just a newbie at this). The app_id is filled in in the FB configuration tab, along with the secret code. All seems to me to be in order.

BTW: If I add the app_id as {JFBCRequest request_id=1 app_id=<my app id> link_text=Invite Friends} - (where <my app id> is the actual id number) - I still get 'The parameter app_id is required', so that doesn't work.

The URL of the pop-up shows a missing app_id, whatever I try - i.e. parameters sent to www.facebook.com/v2.4/dialog/apprequests always show up as ?app_id=&data=1&display=popup..... etc.

So I tried adding the app_id into the url of the pop-up and pasting it into a normal browser tab, just to see what happens but then I get 'Game Requests are only available to games.', which appears to be a nonsensical error message.

So can I be told what I am doing wrong, please?
The topic has been locked.
Support Specialist
8 years 6 months ago #54848 by mel

I configured JFBConnect. Breakout canvas is OK. But when I click on the invitebutton I get a popup with: Game Requests are only available to games.
What do I wrong?

Unfortunately Facebook requests are only available to game applications. If you'd like to take advantage of the invite feature, you will need to switch the category of your Facebook application to Games. You can find the category setting in your app in the "App Details" tab. This was a change that Facebook made back in July of this year. Previously, invites could be sent from any category of app.

ProjectAware,
I'm unsure why the app_id error message is displaying. If you plan to change your app category to Game to use the Invite feature, please do so and let us know a URL where we can see the issue. My only guess as to why that error is appearing is if there is another Facebook extension on your site setting the app_id to a different (or incorrect) value. We'd need to see the problem to diagnose further though.

Thanks,
Melissa
The topic has been locked.
Active Subscriptions:

None
8 years 6 months ago - 8 years 6 months ago #54882 by fredvogels
Tnx Melissa. Perhaps an idea to put it in the manual. That would saved me an hour searching.
I love your product, awesome!
Last edit: 8 years 6 months ago by fredvogels.
The topic has been locked.
Support Specialist
8 years 6 months ago #54899 by mel
Thank you for the suggestion. I've added it to our Facebook Requests page as a general requirement for Facebook requests to work. Sorry that you spent so long searching for the answer.
The topic has been locked.