social-media

Default website image for social sharing

微笑、不失礼 提交于 2019-11-28 04:29:31
Is there any way to set a default image that appears when I share my website on Facebook? I've noticed that Facebook usually fetches the first image from the site to use as a thumbnail. You need to set the facebook image meta tag: <meta property="og:image" content="http://example.com/logo.jpg"> <meta property="og:image:type" content="image/png"> <meta property="og:image:width" content="1024"> <meta property="og:image:height" content="1024"> For more info check the docs Raina Vinod <meta property="og:image" content="http://example.com/lamb-full.jpg"> <meta property="og:image:type" content=

About “SLComposeViewController” in iOS 11 beta

一笑奈何 提交于 2019-11-27 19:19:09
问题 In my project, I always use SLComposeViewController to share contents with third-party apps, but now, when I update my iPhone to iOS 11 beta, this no longer works. The SLComposeViewControllerCompletionHandler always callback SLComposeViewControllerResultCancelled . Why is this? 回答1: I was having problems with regard to the SLComposer in iOS 11. But I just removed the line that checks and apparently the own SDK makes the validacoes to me internally. Remove this line serves for any

Facebook,Twitter,LinkedIn, share link count

我与影子孤独终老i 提交于 2019-11-27 17:37:59
Is there any way to get number of users share some link on Facebook,Twitter,LinkedIn example: how many times some link was shared to Facebook,Twitter,LinkedIn to calculate popularity of some content. how to get share count my particular api ? is there any other option ? Are there some api ? Update Unfortunately, Twitter share count is impossible with API 1.1 Ref: intgr/(number) is number of shares and all responses are in JSON Facebook http://graph.facebook.com/?id=http://{URL} Returns: { "id": "http://{URL}", "shares": intgr/(number) } Twitter http://cdn.api.twitter.com/1/urls/count.json?url

How to clear Facebook Sharer cache?

我只是一个虾纸丫 提交于 2019-11-27 06:01:27
We used the link: http://www.facebook.com/sharer.php?u=[shared URL] ...to share a particular page. However, Facebook Sharer uses the cached version of the images and the title. Is there a way to quickly clear the Facebook cache or how long do we have to wait until the data gets updated? I placed <link rel='image_src' href='[preview image]' /> in between the tags. catandmouse I found a solution to my problem. You could go to this site: https://developers.facebook.com/tools/debug ...then put in the URL of the page you want to share, and click "debug". It will automatically extract all the info

Default website image for social sharing

送分小仙女□ 提交于 2019-11-27 05:18:34
问题 Is there any way to set a default image that appears when I share my website on Facebook? I've noticed that Facebook usually fetches the first image from the site to use as a thumbnail. 回答1: You need to set the facebook image meta tag: <meta property="og:image" content="http://example.com/logo.jpg"> <meta property="og:image:type" content="image/png"> <meta property="og:image:width" content="1024"> <meta property="og:image:height" content="1024"> For more info check the docs 回答2: <meta

Facebook,Twitter,LinkedIn, share link count

梦想与她 提交于 2019-11-26 19:06:07
问题 Is there any way to get number of users share some link on Facebook,Twitter,LinkedIn example: how many times some link was shared to Facebook,Twitter,LinkedIn to calculate popularity of some content. how to get share count my particular api ? is there any other option ? Are there some api ? 回答1: Update Unfortunately, Twitter share count is impossible with API 1.1 Ref: intgr/(number) is number of shares and all responses are in JSON Facebook http://graph.facebook.com/?id=http://{URL} Returns:

How to clear Facebook Sharer cache?

我们两清 提交于 2019-11-26 11:49:11
问题 We used the link: http://www.facebook.com/sharer.php?u=[shared URL] ...to share a particular page. However, Facebook Sharer uses the cached version of the images and the title. Is there a way to quickly clear the Facebook cache or how long do we have to wait until the data gets updated? I placed <link rel=\'image_src\' href=\'[preview image]\' /> in between the tags. 回答1: I found a solution to my problem. You could go to this site: https://developers.facebook.com/tools/debug ...then put in