TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 08:31:21 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 174
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 162
  • Total: 162

Article Titles And Social Media Sharing

Started by jernatety, June 12, 2018, 07:56:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jernatety

Is there any way for the the social media links to pick up the article title instead of defaulting to the site name? When I click to share the "Hockey Rink Guide" on Twitter or FB both platforms only grab the default site name and description as well as the site logo to append to the FB post or tweet.

wildenborch

#1
I don't have a solution for you I can only confirm that the title of your Hockey Rink Guide is indeed not mentioned on facebook. However, I can see the title on twitter (see attachment).
On Google+ its looks even better

I found another posting regarding this issue here: https://www.tinyportal.net/index.php?topic=35541.0

Articles on my website do show the title on facebook. Strange thing however, when I change the title and post the link again with the social media button, the old title is still showing?
I tried it on several computers and my phone.
With google+ the title is changed and correct.



jernatety

Interesting. I wonder if it's the Optimus mod I'm using that might be causing the problem? I have no problem with regular SMF posts. They post as they should on FB and Twitter, title of the post, description, brief summary of the post etc....

wildenborch

I think it's something else!

I searched a bit further and found this page: https://developers.facebook.com/tools/debug/sharing/

When I entered the link of my article page the result was the old title.
After I pressed the Scrape again button the title was updated.

I also tried it with your page and for some reason - also after I pressed the scrape again button - the title did not show up.

I added the following code to my "frog Article"

<meta name="title" content="Hockey Rink Guide" />
<meta name="description" content="And now my article suddenly is the Rink Guide..... but not really!" />

and after I pressed the button Scrape again in the sharing debugger this is the result:

jernatety

Quote from: wildenborch on June 14, 2018, 09:34:57 PM
I think it's something else!

I searched a bit further and found this page: https://developers.facebook.com/tools/debug/sharing/

When I entered the link of my article page the result was the old title.
After I pressed the Scrape again button the title was updated.

I also tried it with your page and for some reason - also after I pressed the scrape again button - the title did not show up.

I added the following code to my "frog Article"

<meta name="title" content="Hockey Rink Guide" />
<meta name="description" content="And now my article suddenly is the Rink Guide..... but not really!" />

and after I pressed the button Scrape again in the sharing debugger this is the result:

Ok, nice. Where did you add the meta tags, assuming the beginning without any head tags?

wildenborch

I placed these meta tags in the first lines of my article.
Since I use the wysiwyg editor I have to switch to source view mode first.
After placing these tags you have to scrape again on https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fwww.youthhockeyinfo.com%2Findex.php%3Fpage%3Drink-directory

Hopefully it works for you as well.





lurkalot

Quote from: wildenborch on June 15, 2018, 06:19:50 AM
I placed these meta tags in the first lines of my article.
Since I use the wysiwyg editor I have to switch to source view mode first.
After placing these tags you have to scrape again on https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fwww.youthhockeyinfo.com%2Findex.php%3Fpage%3Drink-directory

Hopefully it works for you as well.

Quote from: wildenborch on June 15, 2018, 08:04:45 AM
For Twitter there is a similar page https://cards-dev.twitter.com/validator


Thanks for those links, well handy. ;)  wildenborch, I Confess to not knowing how this stuff works at all, it would be a good idea for a tutorial if you're up for it.

wildenborch

Hi Mick,

Quoteit would be a good idea for a tutorial if you're up for it.
I shall think about it. First let's wait for Jernatety's reply if it workes for him.

QuoteI Confess to not knowing how this stuff works at all,
From what I have seen/understand it's some kind of a cache system.

Fred

jernatety

Hi sorry, I was camping the last few days.

I added this to the top of my article.

<meta name="title" content="The Youth Hockey Rink Guide" />
<meta name="description" content="Eastern United States Youth Hockey Info and rink guide" />

I did the FB scrape and nothing changes. The result after scape is still the same. I don't know if it is the mod I'm using that might have something to do with it, I'm using the Optimus SEO mod. It might automatically take precedence over any manually edited SEO changes.