As the facebook and twitter has a parameter for the url and for the title.
https://www.facebook.com/sharer.php?u=[URL]&t=[TEXT]
http://twitter.com/intent/tweet?source=sharethiscom&text=[TEXT]&url=[URL]
what it the title parameter in google+ share link ?
https://plus.google.com/share?url=[URL]
You can't supply it with the share link - that only accepts the URL to share and language as parameters. You can pre-fill the text if you use the share widget though: http://developers.google.com/+/web/share
The title of the page itself in the snippet is taken from the URL that is being shared. The title is either based on schema.org markup, open graph tags, or the title of the page. There's an example of setting that up on the snippet doc page: https://developers.google.com/+/web/snippet/
Related
I've been using Facebook's Feed Dialog to let users on a site share content on their Facebook feed. On their feed there would be a picture that serves as a link to the page on my site, with some text below it like name, caption and description fields. All of these - picture, name, caption and description are now deprecated and stop working now :( Is there any other way to achieve this functionality using a different method, i've proved the quote parameter but I don't like it.
You cannot post pictures on user profiles, not with the API and not with the feed dialog. The feed dialog is for sharing URLs, but they can include an image in the og:image tag of the page source. So you just need to add the correct image in the page source, with an absolut path: https://ogp.me/
I want to make a custom Facebook share button on a website. I use this link:
http://www.facebook.com/sharer.php?s=100&p[title]=title&p[url]=http://myurl.com&p[summary]=summary&p[images][0]=myimage
I have set the og Meta-Tags for sharing the main-site. But the Problem is that if I use the share Link above Facebook shows images/title/summary/etc from the Meta-Tags and not from the Link Parameters.
How can I force Facebook to use the data from the Parameters without changing/removing the Meta-Tags
The sharer will no longer accept custom parameters and facebook will pull the information that is being displayed in the preview the same way that it would appear on facebook as a post, from the url OG meta tags.
Source: https://developers.facebook.com/x/bugs/357750474364812/
You can use the feed dialog instead, but you would need to create an App for that: https://developers.facebook.com/docs/sharing/reference/feed-dialog
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
Is there any way the Facebook Comments box can use the current page's URL? I want to add the feature to my site but don't want the same comments showing on each page. For example, I want the comments for "article1" to only show with "article1." The comments for "article2" would only show with "article2" etc.
Facebook comment plugin is url based. You would need to set href or data-href property with unique urls for each article that you want to have unique comments on.
Is there a way to change what the title text points to once it becomes a link on the facebook wall/message?
I'm using the bookmark.php link mentioned here: http://www.addthis.com/help/custom-buttons.
I set these meta tags, thinking "og:url" would set the title text link, but instead it only set the text that is between the title and description:
og:title
og:description
og:image
og:url
I found the answer to my own question: When using the share button (via FB.Share), you cannot override the from url unless you also are scraping the og (open graph protocol) meta values from that same page.
It might still be possible to override the values by using facebook connect and creating a Facebook application instead of just FB.Share. I'm not sure.