Topic-icon ogtype meta

Active Subscriptions:

None
12 years 6 months ago #14380 by evil
ogtype meta was created by evil
hi alzander,
i wish to know if with the latest version is it possible to set as ogtype of the homepage a value and another for all other pages.
Websites
•	blog
•	website
•	article
Use article for any URL that represents transient content - such as a news article, blog post, photo, video, etc. Do not use website for this purpose. website and blog are designed to represent an entire site, an og:type tag with types website or blog should usually only appear on the root of a domain.
If your object does not fit into one of the types above, you can specify your own type. This will be represented as type other on Facebook. We will monitor the most commonly used types and graduate them to fully supported og:types. If you are specifying your own type we recommend that you use your own namespace. For example if you are moviesite.com, and you want to mark a URL on your site as a director you would do:

so i need "website" for the home page and "article" for all the other pages.
is it possible? actually i have the v 3.4 and is not possible.
thank you
The topic has been locked.
Support Specialist
12 years 6 months ago #14382 by alzander
Replied by alzander on topic ogtype meta
In the 3.4 version (or any version), you should be able to do that. Simply create a "Custom HTML" module. Have it set to display on the homepage and turn off the title. In the text area, just specify:
{JFBCGraph type=webpage}

Then, in the Open Graph defaults area, set:
type=article

That should work, but if not, let us know.

4.0 is out now and has some good improvements, but if you're happy with 3.4, keep going with it :) 4.0 did implement the new authentication scheme originally required by Facebook on October 1st. Since then, they pushed the date back till later this year (still not specified exactly when).

Good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 6 months ago #14401 by evil
Replied by evil on topic ogtype meta
oh thanks i didn't think about this solution.

anyway i'm going to update to v4 soon cause of the OA update..
The topic has been locked.
Active Subscriptions:

None
12 years 6 months ago #14402 by evil
Replied by evil on topic ogtype meta

alzander wrote: {JFBCGraph type=webpage}

webpage? are you sure? in the linter says that "webpage" is not correct. it should be website..

is it possible to do something similar also with
meta property="fb:page_id" content="xxxxxxxxxxxx"
?
The topic has been locked.
Support Specialist
12 years 6 months ago #14406 by alzander
Replied by alzander on topic ogtype meta
Yes, it should be website. I mis-typed.

As for page_id, that won't work with the {JFBCGraph ..} tags, as we currently only put fb: in front of app_id and admins. In front of all other tags, we put og:.

What is the page_id for? It's not in the Open Graph description page.

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

None
12 years 6 months ago #14413 by evil
Replied by evil on topic ogtype meta
Hi Alex,
"fb:page_id" tag can be used in "fb:admin" place to declare all admins of a fanpage. So you won't need to add user id manually.

developers.facebook.com/docs/insights/
here is the knowledge link
The topic has been locked.
Active Subscriptions:

None
12 years 6 months ago #14414 by evil
Replied by evil on topic ogtype meta
do you think it is possible to make the official joomla contact component work with these new OG tags?
<html xmlns:og="ogp.me/ns#">
<head>
...
[REQUIRED TAGS]
<meta property="og:email" content="[email protected]"/>
<meta property="og:phone_number" content="650-123-4567"/>
<meta property="og:fax_number" content="+1-415-123-4567"/>
...
</head>
The topic has been locked.
Active Subscriptions:

None
12 years 6 months ago #14415 by evil
Replied by evil on topic ogtype meta
hey alex, i just noticed that if not specified, your component uses <meta content="webpage" property="og:type"> as default.

could you check please if you can notice this behaviour on your side too?
The topic has been locked.
Support Specialist
12 years 6 months ago #14423 by alzander
Replied by alzander on topic ogtype meta
Yes, that is the expected behavior in all current releases right now. That note was added to the Open Graph area after we had implemented that behavior, but we have a note to change it in the next release. We haven't seen any ill-effects from it, but obviously, it's not what Facebook recommends.. so, in 4.1, we'll be setting the type=webpage on the home page (as indicated by the menu item) and article on all other pages.

Hope that explains,
Alex
The topic has been locked.