Youtube Chorus Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
NEWS
Working on updating the site and adding new features.
Join our Discord channel to talk about possible events and layout changes!
Latest topics
» fluffy's pudding stash- i mean covers.
by fluffyparuko Mon Mar 11, 2024 7:52 pm

» [MONTHLY THEME] February: Love in the Air~Due March 5th
by sonic-nancy-fan Sat Mar 02, 2024 6:03 pm

» Joker's Trans-lyrics
by sonic-nancy-fan Sat Mar 02, 2024 6:00 pm

» [MONTHLY THEME] March: Old Stuff~Due March 31st
by sonic-nancy-fan Sat Mar 02, 2024 5:08 pm

» ~Uniqflame Covers and Voice acting stuff~
by Uniqflame Thu Feb 22, 2024 3:08 pm

» [MONTHLY THEME] January: Bittersweet Chocolate~Due January 31st
by sonic-nancy-fan Tue Jan 30, 2024 11:46 am

» ✾ Faeri's Covers ✾
by FaeriMagic Tue Jan 16, 2024 8:22 pm

» [MONTHLY THEME] December: Snow Day~Due December 31st
by sonic-nancy-fan Sat Dec 30, 2023 9:10 pm

» [MONTHLY THEME] November: Together in Harmony~Due November 30th
by sonic-nancy-fan Thu Nov 30, 2023 3:02 pm


Meta tags, FC2 Blog, and Facebook

2 posters

Go down

Meta tags, FC2 Blog, and Facebook  Empty Meta tags, FC2 Blog, and Facebook

Post by sonic-nancy-fan 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://i1024.photobucket.com/albums/y304/sonicnancyfan/diamondtilebackgroundtiled_zps5aa940b4.png" />


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/
sonic-nancy-fan
sonic-nancy-fan
Administrator

Singing Alias : Joker Posts : 679
Join date : 2013-08-04
Age : 26
Location : Indiana

Penny for your thoughts! Ai Kotoba II Words Tako Luka Maguro Fever Event Participant Box of Cheer ٩๏̯͡๏۶ Participant Megurine Luka 10-Year Celebration 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

Meta tags, FC2 Blog, and Facebook  Empty Re: Meta tags, FC2 Blog, and Facebook

Post by Catalyst 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/


Meta tags, FC2 Blog, and Facebook  A1d9e210
Catalyst
Catalyst
Talkative

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

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

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

Back to top Go down

Meta tags, FC2 Blog, and Facebook  Empty Re: Meta tags, FC2 Blog, and Facebook

Post by sonic-nancy-fan 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~
sonic-nancy-fan
sonic-nancy-fan
Administrator

Singing Alias : Joker Posts : 679
Join date : 2013-08-04
Age : 26
Location : Indiana

Penny for your thoughts! Ai Kotoba II Words Tako Luka Maguro Fever Event Participant Box of Cheer ٩๏̯͡๏۶ Participant Megurine Luka 10-Year Celebration 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

Meta tags, FC2 Blog, and Facebook  Empty Re: Meta tags, FC2 Blog, and Facebook

Post by Catalyst 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.
Catalyst
Catalyst
Talkative

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

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

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

Back to top Go down

Meta tags, FC2 Blog, and Facebook  Empty Re: Meta tags, FC2 Blog, and Facebook

Post by sonic-nancy-fan 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~
sonic-nancy-fan
sonic-nancy-fan
Administrator

Singing Alias : Joker Posts : 679
Join date : 2013-08-04
Age : 26
Location : Indiana

Penny for your thoughts! Ai Kotoba II Words Tako Luka Maguro Fever Event Participant Box of Cheer ٩๏̯͡๏۶ Participant Megurine Luka 10-Year Celebration 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

Meta tags, FC2 Blog, and Facebook  Empty Re: Meta tags, FC2 Blog, and Facebook

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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