opengraph

Canonical url being linked on Facebook rather than real URL. Dynamic OpenGraph tags coming up empty

北城余情 提交于 2019-12-04 08:22:46
My website is a jobs website If I share a job at the moment the url could be for example http://jobs.com/jobs/show-job/143/Jobit-flyers-put-up/Other/ But facebook with try to scrape http://jobs.com/jobs/show-job/ because that is the canonical url. This really sucks when someone posts it on facebook because all the OpenGraph tags are empty so the link gets the wrong thumbnail and blank information. Who knows how to fix this? Josh Dean Fixed! Inside the header of the dynamic page you are creating simply user the meta og tag <meta property="og:url" content="<?php get_current_url(); ?>" >

Embedding html5 video with opengraph on facebook

牧云@^-^@ 提交于 2019-12-04 07:58:23
I have built a web site for our student tv station and the concept is pretty similar to youtube. We would like for our videos to be playable directly in facebook when shared, with the videos themselves still hosted on our server and our stats being updated. The player on the site uses videojs and is all working with the html5 video tag. There is also an embeddable version of the player that can run in an iframe. Ideally I'd like this to be used on facebook but don't think it's possible. This is what I've attempted at the moment with the og:video:type value set to text/html and og:video set to

Wrong image displayed by LinkedIn Open Graph

半城伤御伤魂 提交于 2019-12-04 04:48:00
问题 I'm trying to share http://gbgtechweek.com/ on my LinkedIn profile. I have this meta tag: <meta property="og:image" content="http://gbgtechweek.com/img/gbgtechweek_img.png" /> However, LinkedIn chooses to show another image from the page (http://gbgtechweek.com/img/goteborg00.jpg) Is this because of the size, and how do I fix it? I tried to update by using "?!" in the end, so LinkedIn would re-fetch the Open Graph data, but didn't work. Any solutions? 回答1: LinkedIn (shockingly and sadly!)

set text to google+ share button

妖精的绣舞 提交于 2019-12-04 04:14:11
I'm creating a page which has a g+ share button, but I wanted to dynamically change the description of the content to share. to customize the share button I am using the snippet with Open Graph protocol. The solution I tried was the following, but it did not work correctly: <meta property="og:title" content="O Fabuloso Gerador De Lero Lero v3" /> <meta property="og:image" content="images/robot.png" /> <meta property="og:description" content="..." /> $('meta[property="og:description"]').attr('content',text); var shareButtons = $('div:first','section.share-buttons'); shareButtons.html('');

The app ID specified within the “fb:app_id” meta tag was invalid

喜夏-厌秋 提交于 2019-12-04 00:43:47
I tried to enable Facebook Insights for my web. I added my page's APP_ID to fb:admins to enable every admin of my page to access Insights when logged into Facebook as Page. But when I try to save the dialog message appears: The app ID "123,123,123,123,123" specified within the "fb:app_id" meta tag was invalid. I double checked my app ID and it's correct. To link Domain Insights to an app rather than a user, you need to use the fb:app_id tag: <meta property="fb:app_id" content="your_app_id" /> Source: https://developers.facebook.com/docs/insights/ Only personal IDs are allowed in the fb:admins

Can I get a list of the people that have Facebook-liked my page?

好久不见. 提交于 2019-12-03 22:55:26
问题 I want to get a list of the UID of the people that has liked one Open Graph object (I am the admin of that object). This is to gather advanced analytics, for example, "how many people that like A like also B" 回答1: According to the docs you can do an FQL query such as: SELECT user_id FROM like WHERE object_id="122706168308" 来源: https://stackoverflow.com/questions/5546844/can-i-get-a-list-of-the-people-that-have-facebook-liked-my-page

Facebook doesn't accept custom Open Graph properties

我的梦境 提交于 2019-12-03 15:42:23
I'm trying to use Facebook iOS SDK 3.5 for publishing an Open Graph action. My action is: take a photo , and photo has an additional required string property named filter . I am creating my graph object (all values are valid and working): NSMutableDictionary<FBOpenGraphObject> *object = [FBGraphObject openGraphObjectForPostWithType:@"tonerapp:photo" title:@"photo" image:imageData url:nil description:title]; Then I add my filter: object[@"tonerapp:filter"] = filterName; I try to post the object, and I can confirm that my filter property is there (enabled FBSetting logging behavior for URL

Opengraph W3C valid?

早过忘川 提交于 2019-12-03 13:11:14
I would like to know if the opengraph markup is W3C valid, I'm getting the following error when I try to validate it: Line 14, Column 17: there is no attribute "PROPERTY" <meta property="og:site_name" content="sitename"> In case it's not valid, will it impact my pagerank and other search engines algo? Is it possible to cloak those properties? bobince It's not valid in the normal HTML doctypes, but there is a doctype you can use to validate XHTML documents including Open Graph: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> See this

Defining how an Open Graph Post is displayed

孤街浪徒 提交于 2019-12-03 12:37:42
I'm posting a custom Open Graph object/action to Facebook successfully. Our production and staging environments each have their own FB app, which are configured identically (except that in our production app, objects and actions are approved, as is our App Details page). For some reason though, staging is posting with a larger photo with title/description underneath. Production posts have a smaller image with all text to the right. I don't remember doing anything special on staging, but in the end, we want posts from production to look like they do on staging. Any idea which setting I need to

How to construct a Facebook post URL from the post id? [duplicate]

微笑、不失礼 提交于 2019-12-03 11:28:31
This question already has an answer here : How to construct a permalink for objects returned by Facebook's new Graph API? (1 answer) Possible Duplicate: How to construct a permalink for objects returned by Facebook's new Graph API? The Facebook open graph API allows a public search, e.g. https://graph.facebook.com/search?q=watermelon The results returned may be statuses, videos, links, photos (and others?). Each has a post id, e.g. 100000973592583_149321401769498 I wish to construct a URL to the post. For statuses, this seems to work: http://www.facebook.com/profile.php?id=100000973592583&v