Why facebook share button shows article url on og:title graph in stead of the actual title? - html

I have as an example this page.
http://www.kefet.com/content/article.html?langId=90&artLang=en
If you go to that link after logging to your facebook account and try to share the article,
on the title it shows you the url in stead of the title of the article.
I went to check with facebook debugger, and obviously it said that I have the URL on
og:url http://www.kefet.com/content/article.html?langId=90&artLang=en
og:title http://www.kefet.com/content/article.html?langId=90&artLang=en
Yet when I go to see my source code of my page, I see all correct. Is there anyone that can help me and tell me what do I need to change in order to show the title of the article where it belongs?
Thank you!

The problem may be facebook uses cache for OG tag.
You can use sharer.php as below :
http://www.facebook.com/sharer.php?s=100&p[url]=your_url&p[images][0]=image_url&p[title]=your_title

Related

Is there a function to let opengraph reads the page/post meta dynamically?

I had problem seeing social preview for my links on Whatsapp and Telegram. After research, I found that Og tags created by Yoast should be inserted close to the opening <head> tag. I tried it, and it is almost working. But I have two problems I hope you help me get fixed:
1- I get only homepage link preview and nothing for other posts or pages.
2- when i share my homepage link for test on whatsapp and telegram, it doesn't output the image. Only description and title.
But when i check my urls on open graph checker, the tool shows complete information including the image! ^_^
What is the solution for this?
I need a code, maybe a function, maybe something else.. idk. I just want to get rid of it. In other words, I want to put og tags right after <head> and put this function which I'm looking for and solve the problem. hopefully.

Facebook image doesn't show when I share a page

Could someone tell me why facebook don't pull the header image from this page http://goo.gl/JiNz3W
This is what I'm getting when I'm sharing something from my page:
http://prntscr.com/65gc9m
What I'm doing wrong?
Thanks in advance
Everything is fine now, you have to update fb cache from this page
developers.facebook.com/tools/debug/og/object/
Screenshot
Try this URL to share on facebook:
https://www.facebook.com/sharer/sharer.php?u=http://your-url-here/
If it doesn't show the image, it could be said that your image is blocked by robots or htaccess.
Now check your image url below (copy and paste in your browser). you'll find what's wrong by yourself:
Click HERE

Direct link or html code to get facebook likes by cliking in a picture

I need a method to get likes for my facebook page directly by cliking on a picture
I mean when a visitor of my website click in a specific picture he automaticaly likes my page
with facebook social plugin I got this link but it doesn't make you liking the page automaticaly you need to click the like button and confirm
I don't know how to get that link or html code , "I visited a website uses this method"
I hope you can help me
I researched this as well but I can confirm you that, since this could be easily abused to mislead the client and obtain a load of likes, it is not possible in an official, Facebook-approved way.

Image thumbnails for Facebook share a link

Everytime I share a link on facebook from my site, http://reviewsie.com, the twitter thumbnail is selected as the image thumbnail. (This also happens in pinterest and some of my ad tools.) How do I make a certain image stand out and get selected correctly?
You need to set this meta tag in your head
<meta property="og:image" content="http://yourdomain.com/image.jpg"/>
you need to use the Open Graph Protocol.
To check how Facebook sees your page, use the URL Checker tool at:
https://developers.facebook.com/tools/debug
for your own example, check the tool with your url
and you can find that you are not using the OGP and for such, it simply randomly selects one picture.
and it reminds you about it:
Inferred Property: The og:image property should be explicitly provided, even if a value can be inferred from other tags
If it's still showing old thumbnail, you need to refresh it on https://developers.facebook.com/tools/debug/
Enter your web site link and debug. After that you'll see 'Scare again' button there.

I want to have a link to my facebook page from my blog

Every time I try to embed code that was recommended by another user, I get the same message: Could not retrieve id for the specified page. Please verify correct href was passed in.
All I want is something on my page that a reader can click to take them to my Facebook page. What am I doing wrong?
You can create a personal username for your account on facebook, check Facebook Usernames general information, creating a username will provide you with a custom url something like
www.facebook.com/YOURUSERNAMEHERE
you can easily add this to your blog by using the following html
Follow me on facebook
It would also be helpful if you post the code that you're trying to use currently, otherwise no one has any idea what you're trying to do.
If you just want a link in HTML to your facebook page, put this into your page:
My Facebook Page
The section that goes within the quotes should be the URL you see when you navigate to your Facebook page.
Are you talking about a Page or Profile?
For Pages, the Like Box plugin is probably the best option, and lets people like the Page right from your website: https://developers.facebook.com/docs/reference/plugins/like-box/
For your own Profile, there's Badges ( https://www.facebook.com/badges/ ) which you can use
If it's your own Profile and you want people to Subscribe to you ('Follow') - there's a subscribe button you can use for this: https://developers.facebook.com/docs/reference/plugins/subscribe/
i dont know why, but for some reason, you have to include the http:// before the link