I have a facebook share link, but I want to change its title, instead of using the original title in that page,
e.g.
http://www.facebook.com/sharer.php?u=http://www.google.com&t=Yahoo
Is it possible?
I also am looking how to do this. Seems facebook cache's the title/description and image shared with the inital share.. per url.. The only workaround I know is to make a new URL or append a random query string (ie ?random=12312321) to the url and share it if you changed something that points to the same resource.
Also you can use the facebook Debugger Tool to reset the Title/description that is pulled into facebook: here is a link to the tool:
https://developers.facebook.com/tools/debug
Related
I am creating a customised Facebook share button. The idea is upon clicking on the Facebook share button, it will pick up the meta tags on the page and prefill the share information with a title, description and image that have been curated.
What URL should I be using for the button?
There is https://www.facebook.com/dialog/share
and https://www.facebook.com/sharer/sharer.php
I heard the latter has been deprecated? And you can append a whole bunch of information to the URL as well?
I can't quite figure that out.
sharer.php is not deprecated. It was, for some months, but you can definitely use it. The benefit of using sharer.php is that you don´t need to create an App. It´s the easiest way to implement sharing.
Keep in mind that sharer.php ONLY takes the URL as parameter, everything else will get loaded from the Open Graph tags.
For example:
https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Ffacebook.com%2F
I am trying to share this url via facebook(change RANDOM_STRING with any random string because of facebook cache):
http://www.ikposta.com/blog/goster/72/test_RANDOM_STRING
at first try facebook will decide picture which is there is a men. Refresh facebook page and try again share with same url at this time picture will be changed and you will see keyboard image which is correct image.
og:image tag is always correct why this is happening ?
How can I prevent ?
Run your URL through the Facebook Object Debugger to make sure that your OG image tag is correctly being picked up by Facebook. This will also force a re-cache of the image.
I ran it through quickly and there were a couple errors that came up. Primarily missing URL and title OG tags. You'll want to have these to avoid circular redirects. See here: Debugged
I would personally remove that cache bust all together. It's confusing Facebook because it looks like a directory. If anything, use a query string.
http://gates.cc/works/thisisyours/site/p/fairytale-fashion-collection-61 this is my website url. Here you can see the facebook share using addthis on right side. Please help me what problem in this page. In facebook share box have link only not showing the title, description and the images.
Method 1 :
Facebook treats each url as unique and caches the page based on that url, so if you want to share the latest url the simplest solution is to add a query string with the url being shared. In simple words just add ?v=1 at the end of the url. Any number can be used in place of 1.
Method 2:
Facebook has a tool called Debugger (formerly known as URL Linter). This tool gives us an idea about how a url will be shared on Facebook, what content, which image will be fetched.
I hope this helps
I am trying to fix problem with FB share button
in
http://davitpir.ack.neowebservices.co.uk/offer-61.html
You can view the source (html code)
I have set the meta title, description etc correctly.
But when I click on share button it is sharing "Davit Pirvelashvili" which is the title of other pages not the offer page(i.e. the link I have mentioned above)
How can I make the FB share button share the correct title and description.
You can view-source of the above url to see the title/description that I have mentioned
Update
Strangly it is working fine for
http://davitpir.ack.neowebservices.co.uk/offer-83.html
The OpenGraph tags can get cached (I'm not sure the term FB uses). But if you test your URL with:
https://developers.facebook.com/tools/debug/og/object
It forces the cache to update.
EDIT: After using the debug tool the title is correct for me.
I'm trying to figure out how to update the title of a cross posting. If I use ShareThis to share my link, it is grabbing the title, description and image through open graph, but when I click on the link on Facebook to repost or anyone else does, it doesn't pick up the updated image or title. Can this be updated or force through meta tags, og:tag or some other option.
I've noticed this also when I've been playing around with the Feed posting.
If you log in with any other account you'll find that when you post the same link, it will show the updated photo.
It might also be worth using the linter/debugger at http://developers.facebook.com/tools/debug to see if this "jolts" Facebook in to action.
Let me know what happens :)