Meta tags, FC2 Blog, and Facebook

View previous topic View next topic Go down

Meta tags, FC2 Blog, and Facebook

Post by sonic-nancy-fan on Fri Sep 12, 2014 3:00 pm

I have been trying to change the appearance of links from my blog on Facebook. Right now, links to my blog have no description and it just picks a random picture. So, I figured out I needed to add og: meta tags to the <head>. Even though I directly copied the coding from Facebook's official page, it still will not work. I think one of the biggest problems is the fact that I use FC2 Blog, which has a small English community. I cannot find a tutorial for it and I have no idea what is wrong.

https://developers.facebook.com/docs/reference/opengraph/object-type/article
That gives you THE EXACT CODE TO USE

It still does not work. I assume that I have to put it into the template's HTML since the blog itself does not seem to use it's own HTML, just the template one is currently using.

When I go to my site and open the source code, it shows that the information is there and appears right.

Here is what the code looks like on my page.
Code:
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">
  <meta property="og:url"    content="http://sonicnancyfan.blog.fc2.com/" />
  <meta property="og:description"   content="All of the English trans-lyrics written by Joker {sonic-nancy-fan}. This includes Vocaloid, KPOP, JPOP, Anime, Video Games, and various others." />
  <meta property="og:image"  content="http://illiweb.com/fa/pbucket.gif" />


Here is what the Facebook code looks like
Code:
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">
  <meta property="og:url"    content="Put your own URL to the object here" />
  <meta property="og:image"  content="https://s-static.ak.fbcdn.net/images/devsite/attachment_blank.png" />

I just added in the description part which it also says I can do by putting og:description
I have tried looking at other FC2 blog's source code pages and none of the ones that I have seen have had any og meta tags so maybe I am doing something wrong....I even took two web design classes. Pretty obvious, right?XD Any suggestions would be appreciated. I know that this site is not really for HTML help but I figured that most forum sites would not know almost anything about FC2 to help. If you need it, here's a link to my blog: http://sonicnancyfan.blog.fc2.com/
avatar
sonic-nancy-fan
Talkative

Singing Alias : Joker Female
Posts : 350
Join date : 2013-08-04
Age : 20
Location : Indiana

Penny for your thoughts! Ai Kotoba II Words Tako Luka Maguro Fever Event Participant Box of Cheer ٩๏̯͡๏۶ Participant Monthly Theme Participant (1/4) Monthly Theme Participant (2/4) Monthly Theme Participant (3/4) Monthly Theme Participant (4/4)

http://sonicnancyfan.blog.fc2.com/

Back to top Go down

Re: Meta tags, FC2 Blog, and Facebook

Post by Catalyst on Tue Sep 16, 2014 7:46 pm

Try clearing cache with the facebook debugger. After doing that it looks perfect on my side =)
https://developers.facebook.com/tools/debug/


avatar
Catalyst
Talkative

Singing Alias : Catalyst Male
Posts : 350
Join date : 2013-03-13
Location : GPS Failed To Locate

SMILING Participant YTC 2015 Blind Duet Participant Monthly Theme Participant (1/4)

https://www.youtube.com/user/TentaikansokuP

Back to top Go down

Re: Meta tags, FC2 Blog, and Facebook

Post by sonic-nancy-fan on Wed Sep 17, 2014 12:19 pm

It is the Facebook debugger that has been telling me that I am doing it wrong. I tried posting a link on Facebook again today and it decided to work now even though it did not work any other day this week or earlier today....0.o I did not do anything to it since I posted on here so...yeah...I guess I should be glad that it works now but I am still kind to confused as to why it works, especially since the debugger is still telling me that it should not work....yet it is working...XD Thanks for suggeting I try shoving it into the debugger again though. I was close to giving up on it~
avatar
sonic-nancy-fan
Talkative

Singing Alias : Joker Female
Posts : 350
Join date : 2013-08-04
Age : 20
Location : Indiana

Penny for your thoughts! Ai Kotoba II Words Tako Luka Maguro Fever Event Participant Box of Cheer ٩๏̯͡๏۶ Participant Monthly Theme Participant (1/4) Monthly Theme Participant (2/4) Monthly Theme Participant (3/4) Monthly Theme Participant (4/4)

http://sonicnancyfan.blog.fc2.com/

Back to top Go down

Re: Meta tags, FC2 Blog, and Facebook

Post by Catalyst on Wed Sep 17, 2014 2:48 pm

Which part is it telling you it doesn't work? =O
When I paste it into debugger, all the tags displays correctly.
Or sometimes it just need a bit of time to clear cache.
avatar
Catalyst
Talkative

Singing Alias : Catalyst Male
Posts : 350
Join date : 2013-03-13
Location : GPS Failed To Locate

SMILING Participant YTC 2015 Blind Duet Participant Monthly Theme Participant (1/4)

https://www.youtube.com/user/TentaikansokuP

Back to top Go down

Re: Meta tags, FC2 Blog, and Facebook

Post by sonic-nancy-fan on Wed Sep 17, 2014 6:28 pm

It says that I have a lot of 'unused' file extensions that are just the OG tags that it is telling me are right, so it's contradicting itself. At least it's working I guess. I tried changing the picture again to see if it would work and it hasn't shown up yet, but I heard that it sometimes takes a day or so. I shall wait~
avatar
sonic-nancy-fan
Talkative

Singing Alias : Joker Female
Posts : 350
Join date : 2013-08-04
Age : 20
Location : Indiana

Penny for your thoughts! Ai Kotoba II Words Tako Luka Maguro Fever Event Participant Box of Cheer ٩๏̯͡๏۶ Participant Monthly Theme Participant (1/4) Monthly Theme Participant (2/4) Monthly Theme Participant (3/4) Monthly Theme Participant (4/4)

http://sonicnancyfan.blog.fc2.com/

Back to top Go down

Re: Meta tags, FC2 Blog, and Facebook

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum