opengraph

Facebook open graph meta tags maximum content length

前提是你 提交于 2019-12-02 20:05:35
Does anyone know the maximum valid length for each of Facebook's open graph meta tags? The description of the meta tags on http://ogp.me/ does not list maximum lengths, only general descriptions such as "A one to two sentence description of your object" for the og:description meta tag. From what I understand, there is no maximum content length for meta tags in general, just recommendations to keep them under certain lengths for SEO reasons. I'd be curious to know if there is a hard limit and what the limits are for what is visible on a link posted to Facebook. There isn't a hard limit on the

How to successfully implement og:image for the LinkedIn

有些话、适合烂在心里 提交于 2019-12-02 19:56:43
THE PROBLEM: I am trying, without much success, to implement open graph image on site: http://www.guarenty-group.com/cz/ The homepage is completeply bypassing the og:image tag, where internal pages are reading all images from the site and place og:image as the last option. Other social networks are working fine on both internal pages and homepage. THE CONFIGURATION: I have no share buttons or alike, all I want is to be able to share the link via my profile. The image is well over 300x300px: http://guarenty-group.com/img/gg_seal.png Here is how my head tag looks like: <!DOCTYPE html PUBLIC "-/

Facebook Like - Won't keep track of Likes after browser refresh

穿精又带淫゛_ 提交于 2019-12-02 18:48:06
问题 I'm implementing Facebook's "Like" option in one of my websites as a voting tool. Users will be able to vote on a specific team by Liking the team's individual page. I have a number of teams and for some reason when I "Like" some of the teams, refresh my browser, my Like count refreshes as if I never "Liked" the page at all. However, on some of the other teams pages, when I "Like" and refresh, the count is accurate and keeps track. I can't seem to find what is differentiating between the team

facebook reset cache on “Share on Facebook” links

淺唱寂寞╮ 提交于 2019-12-02 16:29:33
问题 I just updated our site's <meta> 's open graph protocol. I just noticed that whenever I share some links, the old <meta> is the one being parsed by Facebook. However, to those links I run on debugger tool they show the updated <meta> . Is there a way to have Facebook recognized updated <meta> on all links aside from pasting it on debugger? 回答1: When You update your <meta> ( Open graph ) tags and run it through the debugger You are updating and clearing Facebook servers cache , Not Yours!

How to define a “GeoPoint” property in Facebook SDK for iOS

蓝咒 提交于 2019-12-02 15:08:27
问题 I'm trying to geo-tag an Open Graph story by creating an Open Graph object that inherits from the predefined "place" object. However, I can't figure out how to define the GeoPoint property "place:location" in iOS! There is an answer to a similar question here: https://stackoverflow.com/a/19386730/824515 which I have tried without success. Now, I'm trying to break down the problem by setting up a "place" object directly, but it doesn't help. I get this error message: error = { code = 100;

Facebook Open Graph tags for Blogger

 ̄綄美尐妖づ 提交于 2019-12-02 14:41:25
问题 I've been struggling with these for months now. I just changed them and the Facebook Debugger thinks everything's fine except for admins and app ID whih I hope I don't have to get into. But, when the like button is clicked, some posts show my generic favicon, some show an image for an old post, some show no image at all, and a rare few show an image from the post. Some of them show the correct title of the blog post, some show a link instead, some show nothing. I was hoping that a brief

og:image ignored when sharing link, although accepted in linter

这一生的挚爱 提交于 2019-12-02 11:04:58
I want to share a link to my own website on Facebook, so I added the necessary og: tags to the <head> section. Checked it in the linter, and it displays everything I want it to display. When I actually want to share it in the newsfeed (as in copy and paste the link into the status formular), the image is ignored. Here's a sample link: http://iamschulz.de/video/4 Does it break the image size requirements? If so it'll still be detected by the debug tool, but won't actually be rendered in the news feed Images must be at least 50 pixels by 50 pixels. Square images work best, but you are allowed to

Facebook Open Graph tags for Blogger

倖福魔咒の 提交于 2019-12-02 08:46:30
I've been struggling with these for months now. I just changed them and the Facebook Debugger thinks everything's fine except for admins and app ID whih I hope I don't have to get into. But, when the like button is clicked, some posts show my generic favicon, some show an image for an old post, some show no image at all, and a rare few show an image from the post. Some of them show the correct title of the blog post, some show a link instead, some show nothing. I was hoping that a brief snippet of text from the post would show but that never happens. This all seems to be totally random. Here's

Execute Javascript when Facebook crawls website

折月煮酒 提交于 2019-12-02 07:32:26
I use javascript function below to move embed Facebook Meta data to head, This works fine for visitors but not when FB crawls the page, How can i execute this when Facebook crawling the page ? function metaBodyToHead() { var head = document.head, metaTAGs = document.getElementsByTagName( "DIV" ); for( var i = 0, ln = metaTAGs.length; i < ln; i++ ) { head.appendChild( metaTAGs[ i ].parentNode.removeChild( metaTAGs[ i ] ) ); } } metaBodyToHead(); I need to get the meta data in head when facebook crawls the page Test page: http://greenboxmedia.org/meta.html Facebook debug: https://developers

Problems by uploading Photo to album by Facebook API - PHP

一笑奈何 提交于 2019-12-02 05:04:29
问题 I have problems to upload a photo to an album by the facebook API . this is my code. $facebook->setFileUploadSupport(true); //Create an album $album_details = array( 'message'=> 'Message', 'name'=> 'Album Name' ); $create_album = $facebook->api('/me/albums?access_token='.$access_token, 'post', $album_details); //Get album ID of the album you've just created $album_id = $create_album['id']; echo $album_id." - "; //Upload a photo to album of ID... $photo_details = array(); $img = "app.jpg";