× Joomla Facebook Connect support forum

Topic-icon og:points tag

Active Subscriptions:

None
13 years 11 months ago #24402 by Ivan
og:points tag was created by Ivan
I hadnt check back on this: developers.facebook.com/blog/post/574/

90-day migration due February 1, 2012: Use game:points instead of og:points

The Open Graph meta tag property og:points is being renamed to game:points to be more consistent with game.achievement og:type. Please migrate to use game:points instead of og:points. Both properties will continue to work until February 1st when og:points will stop working.

I used to use : echo "{JFBCGraph points=".$ach_points."}"; to render the og:points on page.

How can i render game:points instead now?



With this
The topic has been locked.
Active Subscriptions:

None
13 years 11 months ago #24411 by Ivan
Replied by Ivan on topic og:points tag
Hi,

I manage to get the proper format in using this code in getSCGraphProperty function between the if and else i added:
elseif ($graphName == 'points')
                       $graphName = 'game:points';  


this would put game:points as required.
The topic has been locked.
Support Specialist
13 years 11 months ago #24413 by alzander
Replied by alzander on topic og:points tag
Simply update to:
echo {SCOpenGraph game:points=".$ach_points."}";
If there's no namespace added, we'll automatically add og:. If it's included, like game:, we'll use that.

The SCOpenGraph is the new tag we use that replaces the JFBCGraph tag. They both have the same functionality, but one day we'll likely stop allowing the JFBCGraph tag. The reason is because LinkedIn also uses Open Graph tags, so we didn't want the tag tied just to JFBConnect.

Hope that helps!
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24563 by Ivan
Replied by Ivan on topic og:points tag
okay thanks
The topic has been locked.
Support Specialist
13 years 10 months ago #24574 by alzander
Replied by alzander on topic og:points tag
No problem, hope that helps!
The topic has been locked.