opengraph

Opengraph W3C valid ?

Hi, 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 tho...

Facebook like button and comments, how to get users ?

I have read a lot of stuff about the Open Graph Protocol and Social plugins. But I'd like to know if there is a way to programmatically retreive the full list of facebook users who "likes" or "comments" my pages. For example, imagine that i am the webmaster of http://canalstreet.canalplus.fr/musique/live/canal-street-l-emission-du-05-0...

Getting the Access Token from a Facebook Open Graph response in Ruby

Hi, I'm trying to implement single sign-on using facebook in my ruby sinatra app. So far, I've been following this tutorial: http://jaywiggins.com/2010/05/facebook-oauth-with-sinatra/ I am able to send a request for a user to connect to my application but I'm having trouble actually "getting" the access token. The user can connect wit...

How do I create a *public* Facebook community page using the Open Graph protocol?

I am trying to integrate pages from a site I am building into the Facebook Open Graph. My goal is to create a Facebook "Community Page" for each cause in my application. I have added Open Graph tags to a page so that I can Like it in Facebook, and a community page corresponding to my cause has been added to Facebook. However, I am the on...

Posting to an Open Graph page

Hello all, I've got a open graph page with a like button, activity feed, etc. I want to be able to post programmatically. The open graph docs says it's possible via the old stream.publish api. I've got a meta tag pointing to my facebook application, but the stream publish api doesn't seem to be able to post. This is what i'm posting vi...

"Unsafe JavaScript attempt to access frame with URL..." error being continuously generated in Chrome webkit inspector

Chrome (or any other webkit browser) throws a ton of these "Unsafe JavaScript attempt to access frame with URL..." when working with the Facebook API for example. It doesn't interfere with actual operation, but it does make the javascript console basically unusable. I'd like to know if there is a way to suppress these errors specifical...

How do you publish a picture to an event with facebook opengraph?

I am able to successfully publish an event to facebook but am unable to include a picture. It looks like this needs to be done via a "connection" in open graph but I can't seem to find a clear example on how to do this. Can someone on stackoverflow.com help? Thanks! ...

How to query the like count of a facebook object such as a album or photo via fql?

Hi, Here is a tricky question, how do you get the like count of a facebook object such as an album or a photo? I know that facebook has a fql table called link_stat that allow you to get the like count for an external url, but it does not seem to work if the object is within facebook. If you access the likes via the opengraph api on a pa...

Facebook: User Like/Become fan of page

In any facebook api (connect, graph, rest, etc) is there a way to prompt the user to become a fan of a page (now known as liking a page). ...

Facebooker and Rails3 with OpenGraph

Hi all, The facebook rest API is apparently deprecated and is going to disapear soon. This Api is replaced by the new OpenGraph Api. Right ? I'm looking for a way to replace Facebooker with a plugin able to handle the facebook open graph and working with Rails3. I looked over the web and i didn't found something interesting about thi...

XFBML button doesn't appear

Situation: I am running my website on wordpress. I have installed the "Simple Facebook Connect - Base" plugin and configured it by getting the API key for my website. Then I inserted the like button on my own at my own preferred place in the page using i-frame. It worked fine. Problem: But I thought to try the XFBML version. I loaded th...

Facebook Graph API Returns Inconsistent Number of Friends With Facebook Profile

I've noticed that using the new Facebook Graph API to fetch friends of users returns a number of friends that is close to, but not always exactly, the number of friends displayed on the user's profile. Documentation here: http://developers.facebook.com/docs/api For example, on that page, I click on https://graph.facebook.com/me/friend...

Authorize posting to Facebook Fan Page

Hello! Does anyone know if you're able to authorize posting to "Fan Pages" using the new Oauth system, or is it still required to be done in the legacy fashion (as shown on http://stackoverflow.com/questions/2097665/authorizing-a-facebook-fan-page-for-status-updates)? I've attempted to dig deep into the new API for ways to authorize of...

Facebook JS SDK for Open Graph: Logout not working!

For some reason when I call FB.logout();, the user does not actually get logged out of Facebook. Why might this be? No js errors get thrown, and I can step through the code as it runs through the SDK... it just doesn't successfully log out. ...

Can I change the facebook connect button ?

Hi, Can I change the default button of Facebook connect by an other picture ? I am setting up the registration process of my website and would like to use the Open Graph API. The button is pretty ugly and not very user friendly do you know if I can change it by my own ? Thank you ...

How to collect a URL's facebook likes

Using https://graph.facebook.com/id/likes?access_token=XXXXXXX works for some urls as does http://graph.facebook.com/?ids=url but some urls from locations like washingtonpost.com and techcrunch.com don't have the 'likes' data but it must be available because itstrending.com has these sites listed, with accurate likes counts. Thanks ...

Add facebook like button in wordpress e-commerce site.

I'm building wordpress e-commerce site (using wp e-commerce plugin), so i added Facebook Open Graph Protocol, so now my site is connected to facebook and i can put facebook like button for the entire web site or for pages or for posts,but i want to add like button for all of the products of my sites, i tried many plugins but none of them...

Can I get meta "properties" using Javascript?

I'm trying to use JS to access data in OpenGraph meta tags. It works fine with meta tags that have the standard attributes (name="x" content="y"), but for OpenGraph tags, the meta tag reads <meta property="x" content="y"> I haven't had any luck accessing the contents of the "property" attribute using JS. The .name attribute is just...

facebook OpanGraph API on Rails (FBGraph)

I am trying to use FBGraph to let my app publish messages on the users wall. However, all of the APIs are kind of foreign to me and I am just trying to change things and see what happens. Right now, I am getting this error message { "error": { "type": "OAuthException", "message": "Invalid redirect_uri: Given URL is not a...

Facebook Open Graph Feed Not Returning All My Wall Posts From Me

When I use the open graph API to get my own facebook news feed (my wall), everything looks right for the most recent 3 months, but prior to that, I no longer see my own posts (but still see posts of other users on my wall). I'm using a version of this link (with a working access token): https://graph.facebook.com/me/feed??access_toke...