Facebook Sharing plugin doesn’t detect the specified post URL - facebook

I use Facebook share button to share my article (Title, description and image) on Facebook using Open Graph Meta and other default Meta
And my articles are echoed in post.php page like (mywebsite.com/post.php?id=post_id) which contents differ through post_id.
Well, while sharing a post on fb, facing some problems.
1: fb share doesn't detect the image belonging to the article/current post that is shared. (Thought the image URL in my Open Graph Meta is correct) and after sharing it on Facebook the link doesn’t redirect to the exact URL (mywebsite.com/post.php?id=post_id).
2: the fb share button is in my post.php page which shares different posts but sharing is counted same for all posts.
The FB share button has got an attribute (data-href="url-to-share") which my one is (data-href="<?php echo'post.php?id=post_id';?>").
Anyone know what and where is wrong with my code/URL addressing?

If your meta tags shows correct data then must be fb issue. I faced similar problem before.
Try debug your url in the FB debugger( https://developers.facebook.com/tools/debug/og/object/ ). It helps.
Fb haven't grab your updated data because they have their own time/interval to grab new data from the website(if im not mistaken). Using the debugger u'll see how the share will look like and show missing details if any.

Related

Wordpress link on Facebook: no og:type warning in FB debugger

My website (http://www.guidoleurs.org) is finished, however if I want to share and promote it on social media I come across a problem. Somehow if I want to share my static frontpage on Facebook (by copy/pasting the link in a post) I only see “guidoleurs.org” without any information or image. Also beneath every blog post I have the Accesspress Social Share buttons, but if I want to use them to share a post, the Facebook post looks like “404 not found” (although the link works) without the featured image..
How can I fix this?
I also used the debug tool of Facebook and when I paste either link from my website in, I get the following result:
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fguidoleurs.org%2F2015%2F08%2F27%2Fblog-1%2F

Like button for Facebook page shows generic Facebook description in News Feed

I want a Like button on my web site that Likes my Facebook profile (rather than my web page), so that when a user clicks it they subscribe to my Facebook posts.
I've created the Like button using the tool at https://developers.facebook.com/docs/reference/plugins/like/
Further down that page there is an FAQ entry:
Can I link the Like button to my Facebook page?
Yes. Simply specify the URL of your Facebook page in the href
parameter of the button.
So, I've edited the href parameter to point to my Facebook page. eg:
https://www.facebook.com/myfacebookid
When a user clicks the Like button it has the desired effect. The user ends up having Liked my Facebook page. This is easily verified by the user going to my Facebook profile and checking that the Like button has changed to Liked.
But. When the user clicks the Like button, and entry appears in their News Feed with a generic Facebook description. ie:
Facebook is a social utility that connects people with friends and
others who work, study and live around them. People use Facebook to
keep up with friends, upload an unlimited number of photos, post links
and videos, and learn more about the people they meet.
I don't want a generic post about Facebook to appear. I want the description to relate to my Facebook account and/or web site.
Normally, I could modify this behavior with the Opengraph og: description tag, but as the page in the href is a Facebook page and not my own, I can't control the Opengraph tags.
I'm pretty sure that this was working okay before I enabled timeline for my account, so maybe this is a timeline bug?
So, how do I add a Like button which a) Likes my Facebook profile rather than one of my own web pages, and b) Posts a description of my Facebook profile rather than give a generic Facbook description?
Are all your fields in the info part of your page filled in, and/or completed? I just tested your theory and it seemed to work as expected, only thing is I know all fields in "info" are filled it. Give that a try.
This may happen if you have filled invalid/incomplete/wrong og tags in past and later changed them. Facebook's cache creates problem sometime.
Try putting all the entries (i.e. all og tags) and then debug them here http://developers.facebook.com/tools/debug. This debugger gives a detailed info about the url with og tags and also clears the cache for you.
This should solve the problem.
You have 3 important fields that used on page opengraph: Name,Description,Profile Image.
They are used when some one post your link on Facebook, or Google or some else web service that handle opengraph.
Actually, the suggested answers currently do not work and there is an open bug / ticket on Facebook for it. Up to now, there's no fix.
The problem is that you can not use simply https://www.facebook.com/myfacebookid. You should copy and paste the exact page URL. If you have a low number of likes it would look something like https://www.facebook.com/pages/[YourPageName]/[Your page Id]/, and this is the URL that you should use at this point.
If it does not work, try also https://www.facebook.com/[YourPageName]/[Your page Id]/.
In short, copy-paste the URL, do not type it manually.

Problem with open graph when posting to facebook

I'm trying to integrate open graph in my website, so that I can post a link to my relevant facebook page and it will display the relevant information (title, description etc).
Yet, even though it worked for some time, now it only displays my domain name regardless of the link I post. No images, no descs, nothing.
I've created a test page to find out what's wrong, but I've come to a dead end.
The test page is W3C valid, the Facebook debugger is parsing all the information correctly, the preview before I post the link to facebook is correct, but when I hit post it displays nothing, just the url.
I've tried several actions such as different doctypes, commenting out the open graph metas, moving js after the metas, removing the meta content-type to no avail, but if you can help me post the test page correctly to facebook, I think I'll be able to find what's wrong with my site.
My website: http://www.accorda.info
The test page: http://www.accorda.info/test.html
My facebook fan page: http://www.facebook.com/accorda.info
Replace the meta tag or delete some. I don't understand… Facebook OpenGraph Debug tool show IMBb info for your page.
http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.accorda.info%2Ftest.html
Remember, Facebook don't update page info real-time. New meta tags can be visible in 2 days.

facebook like not get the required image

I am creating a facebook like to put on my site. This component will read all posts from a specific page`s wall and display them.
I want to get the required image post on my wall when any user like my page from my website.. I have multiple facebook likes on my page ..
My problem is that when a user like any of the like button it get any image from my page and post it my wall . But i want that it get the specific image and post to my wall..
i also tried to put og:image But no success :-(
Any suggestions please.
You haven't given enough code to diagnose your problems, but assuming that you've followed the open graph instructions on the Facebook Developers site - http://developers.facebook.com/docs/opengraph/ - It would be a good idea pass your target URL through the Facebook Debugger (formerly the URL Linter) it will help show you any errors you have regarding your open graph tagging implementation:
http://developers.facebook.com/tools/debug

Having a issue with the "Share" feature Facebook Fan page

My friend has created about 20 Facebook fan page for the website. www.AvailDiscounts.com
Now the issue is, when we click on the wall post to "share" with other friends, its taking to another page where it displays the meta tags and the title of the login page instead of displaying the exact post.
Please find the fan page of the website:
http://www.facebook.com/pages/Avail-Discounts-Chicago/195486540483072
How to over come this issue.
The Query can be found in the following link with images:
http://getsatisfaction.com/rssgraffiti/topics/issue_with_share_button_when_using_rss_graffiti
Please help
As far as i have checked this seems to be an issue with the RSS Graffiti application in Facebook.
You have two issues here:
1) Are you posting the correct link in RSS Graffiti?
It seems all of your fan page links redirect me to the Avail-Discounts-Chicago home page. It's either it is non-existent, deal closed or bad URL supplied.
2) RSS Graffiti posts differently than Share button
RSS Graffiti prepares your data, image link title and description before posting to the page stream. The default Facebook Share button does not. What it does is get the URL, scrape that URL with information, which can be defined through opengraph tags. Make sure your links / deals have their meta:og's.
Your question is a bit vague, and the passing of the auth information is kind of scary, but anyway, I'd make the href of the post something along the lines of this:
http://www.facebook.com/dialog/feed?app_id=123050457758183&link=http://developers.facebook.com/docs/reference/dialogs/&picture=http://fbrell.com/f8.jpg&name=Facebook%20Dialogs&caption=Reference%20Documentation&description=Dialogs%20provide%20a%20simple,%20consistent%20interface%20for%20applications%20to%20interact%20with%20users.&message=Facebook%20Dialogs%20are%20so%20easy!&redirect_uri=http://www.example.com/response
More information is available here:
http://developers.facebook.com/docs/reference/dialogs/feed/