News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Links to forum on facebook show no thumbnails or images

Started by Janden, April 20, 2013, 02:43:50 AM

Previous topic - Next topic

Janden

This might seem like a silly question, but I know people on FB click on more things that have pretty pictures. What I've noticed is that any time I like to my forum, either the forum itself or a certain topic, FB only displays the link. It would be cool if there was a way to make it show something, an icon or a logo, anything. Does anyone know how to do this?

Here is a screenshot to show what I'm talking about.

William Wolfe

William Wolfe

Kindred

yes, that is completely correct.

It has to do with how facebook pulls thumbnail images and how SMF renames images to use a hashed filename and no extension.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

winniethepooh

Hello Janden, I have a simple solution for you. open notepad and paste this code. replace the description, url of your index, logo, and slogan with your stuff. save it as "whateverpage.html" upload both the html page and the logo image you made to the same directory of your site, preferably the root directory of your account.

<html><head><meta name="description" content="enter a short description of your site here. don't use more than 200 charachters or facebook wont pick it up."><meta http-equiv="refresh" content="1;url="http//yoursite.com/yourindexpage.php" /></head><body><center><h1>redirecting to the forum</h1></center><center><image src="yourlogo.png" alt="your site slogan"></img></center></body></html>
After you have done this. instead of submitting your normal url to facebook, submit http://yoursite.com/whatteverpage.html instead. if all goes well, you will have a link that once clicked will bring you to your forum.

Tip: You can even jazz it up with some css inside a of a <style></style> container.
"But I'm tryin' Ringo.I'm tryin' real hard to be the Shepherd."

Janden

There's no mod, I'm just posting the link on facebook. You would think it would at least put the site logo in there or something. I get not having images from the forums show up, but at least a default icon would be great. If you look at this screenshot, this forum comes up with an image when I put the link into facebook.

Kindred

there is a mod which adds the OG codes...which will tell facebook what to use.

and pig...  that's not a particularly good or useful idea... especially since the users will just be pasting the link from their browser into facebook.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

winniethepooh

Quote from: Kindred on April 20, 2013, 02:54:39 PM
there is a mod which adds the OG codes...which will tell facebook what to use.

and pig...  that's not a particularly good or useful idea... especially since the users will just be pasting the link from their browser into facebook.


well, since you said their is a mod... would you care to share it with us?
"But I'm tryin' Ringo.I'm tryin' real hard to be the Shepherd."

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

winniethepooh

"But I'm tryin' Ringo.I'm tryin' real hard to be the Shepherd."

Janden

I've looked through the Facebook mods about a million times. I have no idea which one of those is the one you're referring to.

TheListener

Quote from: Janden on April 20, 2013, 07:05:17 PM
I've looked through the Facebook mods about a million times. I have no idea which one of those is the one you're referring to.

I believe Kindred has given you the link so you can decide for yourself which would best suit you.

Janden

I would have to try out ALL of those mods to find that one that puts a picture on Facebook. Since none of them have that listed as one of the capabilities. Why didn't he just give me a link to Vbulletin? Or phpbb? I get that it was an attempt at being helpful, but it was only slightly better than "Let me google that for you."

Arantor

What he's trying to suggest is that spending a little time searching would yield answers.

I'll save you the effort, though, and point you at http://custom.simplemachines.org/mods/index.php?mod=3153 which does claim to do so.

TheListener

Quote from: Janden on April 20, 2013, 07:12:36 PM
I would have to try out ALL of those mods to find that one that puts a picture on Facebook. Since none of them have that listed as one of the capabilities. Why didn't he just give me a link to Vbulletin? Or phpbb? I get that it was an attempt at being helpful, but it was only slightly better than "Let me google that for you."

So we 'volunteers' are supposed to sit and do the work for you? Can you imagine how impossible it would be if we did this for everyone?

I'm not exactly sure it can be done forum side anyway as I was under the impression that facebook did this automatically.

:)

EDIT: Thanks Arantor.

winniethepooh

Quote from: Old Fossil on April 20, 2013, 07:07:37 PM
Quote from: Janden on April 20, 2013, 07:05:17 PM
I've looked through the Facebook mods about a million times. I have no idea which one of those is the one you're referring to.

I believe Kindred has given you the link so you can decide for yourself which would best suit you.
Those links have nothing to do with what he wants. He wants to post links to his site with pictures on facebook for his friends to see and click on. none of those links provide that. i think my script is a good starting point. fwiw, i used this simple meta refresh front page to index with google. it doesn't take a freaking rocket scientist google and facebook can't dig into your themes directory for your logo image, because smf;security features do not allow it!!!! alternatively to the script i provided that is so easy a caveman can do it, is just placing a logo in your /root directory
"But I'm tryin' Ringo.I'm tryin' real hard to be the Shepherd."

mashby

Actually winniethepooh (aka many other names just today), the link Arantor provided (which was included in the list of ones provided by Kindred) does what Janden wants. :)
Always be a little kinder than necessary.
- James M. Barrie

Janden

Indeed, I actually did search forever for this answer, which is why I asked here in the first place. But the answer I got was "search around." And looking at that mod, I see how it can work under certain circumstances (such as if someone likes the topic), but would that work still if someone just threw a link into their facebook status? That is what I was wanting to know. Do I expect volunteers to "do all the work for me"? No. Is every suggestion given to me going to actually answer the question? No. Am I going to point out that something wasn't helpful at all? Sure. Did I say I understand that it was meant to be helpful? Yes. Thanks for your suggestions, everyone.

Arantor

Quoteit doesn't take a freaking rocket scientist

It's a good thing you're not a 'freaking' anything then, isn't it?

Oh, and no, your script is not a good starting point. It'll screw up SEO and it won't even provide the meta og tag that will definitely give FB something to look at.

(For reference, FB will attempt to use images if it finds some on the page that are suitably sized and suitably accessible. Most of the time, that just isn't the case, so it doesn't show anything.)

Quotebut would that work still if someone just threw a link into their facebook status? That is what I was wanting to know

I thought the mod's page explained that fairly well...

winniethepooh

#18
Quote from: mashby on April 20, 2013, 07:25:19 PM
Actually winniethepooh (aka many other names just today), the link Arantor provided (which was included in the list of ones provided by Kindred) does what Janden wants. :)

Quote from: Arantor on April 20, 2013, 07:35:10 PM
Quoteit doesn't take a freaking rocket scientist

It's a good thing you're not a 'freaking' anything then, isn't it?

Oh, and no, your script is not a good starting point. It'll screw up SEO and it won't even provide the meta og tag that will definitely give FB something to look at.

(For reference, FB will attempt to use images if it finds some on the page that are suitably sized and suitably accessible. Most of the time, that just isn't the case, so it doesn't show anything.)

Quotebut would that work still if someone just threw a link into their facebook status? That is what I was wanting to know

I thought the mod's page explained that fairly well...
facebook doesn't need the og meta tag


edit: i've put my link far enough in my mouth. ehow claims to show how to do this. good luck OP. Arantor and Kindred. you were right. My apologies.


http://www.ehow.com/how_4938148_thumbnail-show-up-facebook-share.html
"But I'm tryin' Ringo.I'm tryin' real hard to be the Shepherd."

Janden

The mod's page says this:

"This Mod allows you to add Facebook like button at prominent location on your forum along with open graph and with option to specify your own image which will be shown along with your shared link on Facebook , you can use your logo as shared image which will help you to spread your name. With Open Graph Support it lets you to use features like Facebook Insight so that you can check how many people Liked and Shared your link on facebook etc."

This makes it seem as though this capability is delivered only via the prominent like button. It's incompatible with 2.04 anyways, at least that what it tells me when I try to install it. What mod is this site using?

Advertisement: