Topic-icon Facebook Open Graph and Twitter Cards on Register / Login pages

Active Subscriptions:

None
Hi guys,
as far as I know, right now, there is no a way on settings to add Facebook Open Graph and Twitter Cards Title/Image(Description to the Joomla (JFBConnect) Registration and Login pages. Am I right ?

Please, How to manually add them ?
Maybe through a Register / Login pages template overwriting by adding JFBConnect code ?
Please, Can you suggest the right code ? (and where exactly to add it to have back something as the Social buttons are doing on these pages)
Please, Can you consider this feature for next release/s ?
The topic has been locked.
Support Specialist
3 years 10 months ago #66382 by mel
Well, you can either set up the defaults in the Social Meta backend area (which would apply to all pages) or you can add the SCOpenGraph easy-tag to a template override for those views. There is not specifically one for our mini-registration view. Can you verify that you're talking about JFBConnect's registration view and not the Joomla standard registration/login?
{SCOpenGraph image=FULL/PATH/TO/IMAGE.png}
{SCOpenGraph description=Blah Blah}

Without checking code, I believe we have it set up if you do image and description like that it will set up both the Twitter and Open Graph values. If you want to target just twitter, you'd preface with twitter: and for open graph og:, for example:

[code]{SCOpenGraph og:image=FULL/PATH/TO/OPENGRAPH/IMAGE.png}{SCOpenGraph twitter:image=FULL/PATH/TO/TWITTER/IMAGE.png}

Please, Can you consider this feature for next release/s ?

I'm confused from your description if it's the Joomla register/login pages or whether it's JFBConnect's view. If it's Joomla, then no, we will not overwrite standard Joomla functionality and you will be responsible for your own template override. If it is JFBConnect's mini-registration view, perhaps you could add it to an existing language string for that page in the meantime.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Hi Melissa,
I'm speaking about the standard Joomla Registration / Login pages.
And I'm looking for have a different image/title/description for each page.

I supposed could be better to call the JFBConnect og plugin feature using the Template Overwrite instead to add all the code manually...
The topic has been locked.
Support Specialist
3 years 10 months ago #66400 by mel
If it's a core Joomla page, then the template override would be the way to do it. If you have trouble adding the easy-tags, please let us know.

Please note, that once you change Open Graph tags on a page, you may need to manually re-scrape the page before they show up in Facebook properly. You can do that with Facebook's Sharing Debugger .

-Melissa
The topic has been locked.
Active Subscriptions:

None
Hi Mel,
I'm testing the template override and I'll let you know, thanks.

I love JFBConnect and its Support team and I think is the right Extension that should add this feature (having and managing yet the Open Graph plugins and the Social Channel connections). This is why I suggest / request:

A - to add a "Menu Items Open Graph" feature, by adding your Open Graph plugins settings as a new Menu Items tab. In this way each Joomla Menu Item should has its own Open Graph settings
B - The second step would be to have like an "API" to integrate step by step an "automatic" Open Graph settings for all the 3rd party Extensions.
The topic has been locked.
Support Specialist
Thanks for the suggestions. We've considered a few ways of allowing adding open graph tags in the admin area to make it simpler. The issues and reasons we haven't yet are:
1) Adding Open Graph tags to menu area is a good idea. However, it causes issues in that:
a) Some menu items apply to many, many pages.. like a blog layout view menu item would also assign those tags to all the articles that a user clicks on from that menu item, which wouldn't be beneficial and likely a problem.
b) Menu items don't cover all pages.. so we still need a generic way for all pages to add tags.

That's why we've always had the easy-tags, like {SCOpenGraph title=Great Title for This Page}. That can be added in any article and, indeed, some other extensions do include SCOpenGraph tags on the page (similar to an API).

I hope that helps, but we'd love to hear any other thoughts you have and we'll gladly keep considering other ways to make Open Graph tags more easily accessible and easier to add.

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

None
Hi Alex,
Thanks for your answer, I like to discuss constructively. This is why before to answer you in detail I'd need some some clarification:

A - "...which wouldn't be beneficial and likely a problem..." = What do you mean exactly ? Can you provide me any examples ?

B - "...Menu items don't cover all pages..." = Again, What do you mean exactly ? Can you provide me any examples ?
The topic has been locked.
Support Specialist

1) Adding Open Graph tags to menu area is a good idea. However, it causes issues in that:
a) Some menu items apply to many, many pages.. like a blog layout view menu item would also assign those tags to all the articles that a user clicks on from that menu item, which wouldn't be beneficial and likely a problem.

The problem that arises here is, let's say you have a standard blog, called "SourceCoast's Tech Blog". If you create a menu item for this and add the following Open Graph Tags:
* Title - "SourceCoast's Tech Blog"
* Description - "Amazing tech blog about Joomla. Read here for all you need to know"
* Image - "techblog.jpg"
The above would work great for the blog home page that lists all blog entries. The problem is that the Itemid for the blog will be added to all articles the user clicks on from the blog main page. That would mean that every blog post would have those same Open Graph tags, which in all cases would be more generic and not as helpful as specific tags for the article.

From JFBConnect's perspective, it would be hard for us to know if the menu item really applies to this page or not, which would make it hard for us to know which way to prioritize tags.. use the automatically generated ones from the Open Graph - Content plugin or the menu items?

Similar issues would happen with something like JomSocial, EasySocial or Community Builder. One menu item goes to the main social landing page, but many sub-items (like profile pages) use the same menu item.

B - "...Menu items don't cover all pages..." = Again, What do you mean exactly ? Can you provide me any examples ?

Every page in Joomla doesn't always have a menu item associated with it. You can link directly to any article with index.php?option=com_content&id=23 for article 23. You can also add an Itemid (or it may be added automatically by Joomla if coming from a blog post or something), but every page is not guaranteed to have a menu item associated with it.

I hope that helps, but if you need anything else, please let us know!

Thanks,
Alex
The topic has been locked.