× Joomla Facebook Connect support forum

Topic-icon OG Tags

Active Subscriptions:

None
13 years 10 months ago #24561 by Ivan
OG Tags was created by Ivan
The url i use to register and post a game achievement is like so....'apps.facebook.com/my_app/achievements/achievement/'.$this->achUser->ach->id;

Now doing this is always causing an error even though i have the correct graph tags, error is -


[string] {"error":{"message":"(#3502) Object at URL https:\/\/apps.facebook.com\/my_app\/index.php?option=com_jachievements&view=achievement&id=23 has og:type of 'game'. The property 'achievement' requires an object of og:type 'game.achievement'. ","type":"OAuthException","code":3502

After debugging extensively i inputed the url apps.facebook.com/my_app/ into the linter tool and i noticed that it gave me

og:type: game

I know you have not dealt with posting game achievements before but is there anywhere in the dashboard where i can change this setting? No sure why its giving me og type of game and not of game.achievements.
The topic has been locked.
Support Specialist
13 years 10 months ago #24575 by alzander
Replied by alzander on topic OG Tags
Are you specifying the OG tag like {SCOpenGraph type=game:achievement} I'm not sure about the '.' instead of ':'. That may be a problem with JFBConnect if you need a period.

Either way, if you look at the HTML on the page, what is the og:type tag being specified as? Is it correct there? Can you link to a page we can look at?

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

None
13 years 10 months ago #24615 by Ivan
Replied by Ivan on topic OG Tags
Hi alex, i just PM you the link
The topic has been locked.
Support Specialist
13 years 10 months ago #24634 by alzander
Replied by alzander on topic OG Tags
Thanks for the PM. When I lint your apps.facebook.com page, I see the following property:
<meta property="og:type" content="game.achievement" />

However, if I lint the destination page you also messaged me (/achievements/achievement/23) I get an error:
Error parsing input URL, no data was scraped.

When I try to load that page, it takes about 10 seconds to load. I'm not sure if Facebook is simply timing out on that page (which means it doesn't see the tags) or if it's just unable to reach that site for some reason. I think that's a part of your problem though if your action references that page, or some other page that can't be scraped.

Hope that helps with the investigation,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24643 by Ivan
Replied by Ivan on topic OG Tags
Are you sure you used the correct url. I still see the same wrong results when i lint.
The topic has been locked.