facebook-sharer

Facebook Share doesn't pick up title / description meta tags that are changed after page load

南楼画角 提交于 2019-12-07 13:33:42
问题 Apparently Facebook Share doesn't pick up the title / description meta tags that are changed (via JavaScript) after the page load. It basically use the meta tags that are available upon load. This is a simple example. The link will change the title / description meta tags upon click. You can confirm that using Firebug. Click the f|Share button: Facebook still always shows "A title that is available upon page load." and "A description that is available upon page load." Anybody knows how to fix

Is there a way to force Facebook to show the og:image on shared links?

♀尐吖头ヾ 提交于 2019-12-06 21:15:39
问题 We have a Facebook app that generates custom shareable links for users when they complete certain activities. The shareable pages have the following meta tags: <meta property="fb:admins" content="1000000000000000"> <meta property="fb:app_id" content="1000000000000000"> <meta property="og:site_name" content="ActivityApp"> <meta property="og:title" content="I just completed this activity."> <meta property="og:description" content="Click here to see John's activity!"> <meta property="og:type"

Why won't Facebook sharer.php provide a selection of images when multiple og:images have been scraped?

偶尔善良 提交于 2019-12-06 05:16:47
问题 So here is a page with multiple og:image elements: <meta name="post-image" property="og:image" content="http://www.destinationtips.com/wp-content/uploads/2014/06/tiger-woods-elin-nordegren-1200x800.jpg"> <meta name="post-image" property="og:image" content="http://www.destinationtips.com/wp-content/uploads/2014/06/Sandy_Lane-1200x797.jpg"> However, when I click the sharer.php link on the page, Facebook only offers the 1st image. I was under the impression that it should present 2 image options

Facebook custom message sharing

只愿长相守 提交于 2019-12-06 02:52:08
I need to add a custom message when I hit on facebook share button on my website. By default the text says ("Say something about this..."). I would like to change this message to a custom message when when I hit the facebook share button. Is there a way I can do this with the sharer.php ? Like a parameter &t=customText ? Right now, Facebook is not supporting the Sharer Functionality. Something that you can do: The title [title] that the Sharer is going to use is the actual of the url that is in the parameter [url] The custom message [summary] is the meta description of that [url] References:

Facebook Share doesn't pick up title / description meta tags that are changed after page load

喜你入骨 提交于 2019-12-05 19:02:41
Apparently Facebook Share doesn't pick up the title / description meta tags that are changed (via JavaScript) after the page load. It basically use the meta tags that are available upon load. This is a simple example . The link will change the title / description meta tags upon click. You can confirm that using Firebug. Click the f|Share button: Facebook still always shows "A title that is available upon page load." and "A description that is available upon page load." Anybody knows how to fix this? This is a quote from Facebook. They scrape the page's meta tags when someone shares that page,

Error parsing input URL, no data was scraped. only with new pages on my site

↘锁芯ラ 提交于 2019-12-05 16:19:52
The problem i have is that i own a website where other people can post stuff ,creating new pages on my domain, but the problem that occured today is that all the new post pages created today are malfunctioning , sharing is not loading thumbnail picture and title and so on, but the weird this is that all the posts(new pages) created before today are all working fine What caused an error to occur out of nowhere? I also cannot debug any of the URL's of my website as the same error: Error parsing input URL, no data was scraped The website im having problems with is here http://www.vabameedia.ee/vm

Android Share - Facebook SDK - ShareActionProvider

狂风中的少年 提交于 2019-12-05 11:04:06
I am trying to implement sharing a simple string inside my application. Obviously everything other than Facebook works. As far as I know, now I have to use their Facebook SDK to post statuses on a wall. However, if I do implement it using their SDK, is there a way to have it incorporated into the chooser (default or ShareActionProvider) and somehow override it and insert the Facebook SDK's implementation? Or do I have to create a dedicated button? //EDIT package com.example.shareactionproviderdemo; import android.app.Activity; import android.content.Intent; import android.os.Bundle; public

how to pass custom parameter in facebook sharer link

眉间皱痕 提交于 2019-12-05 10:55:20
问题 Code 1: <a id="button" rel="nofollow" href="http://www.facebook.com/share.php?" onclick="return fbs_click()" target="_blank"> <script> function fbs_click() { u=location.href; t=document.title; window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t), 'sharer', 'toolbar=0,status=0,width=626,height=436'); return false; } Here Title "t" is not working but i want to display custom title, summary, url and image so, I tried something like this Code 2: <a

Custom image on facebook sharer

一笑奈何 提交于 2019-12-04 17:01:37
I'm working on task of share a link on facebook. But I want to display my own static image (independent of url). With help of google and facebook, I come to know that I have to pass image path (which I want to display) in image parameter of sharer.php. But still, it displays image related to that site. I don't know that where is my mistake. If anyone know answer then please explain or suggest me link from where I can understand from beginning. Thank You. Here is my code. <?php $title = urlencode("How to Create a Custom Facebook Share Button with a Custom Counter"); $url = urlencode("http://www

Why won't Facebook sharer.php provide a selection of images when multiple og:images have been scraped?

筅森魡賤 提交于 2019-12-04 09:46:49
So here is a page with multiple og:image elements : <meta name="post-image" property="og:image" content="http://www.destinationtips.com/wp-content/uploads/2014/06/tiger-woods-elin-nordegren-1200x800.jpg"> <meta name="post-image" property="og:image" content="http://www.destinationtips.com/wp-content/uploads/2014/06/Sandy_Lane-1200x797.jpg"> However, when I click the sharer.php link on the page, Facebook only offers the 1st image . I was under the impression that it should present 2 image options. I have re-scraped the URL many times and the Facebook Open Graph UI even hints that 2 images should