facebook-graph-api

Does the mime-type of the Facebook Graph API cause an error on IE8?

Strangly on IE8 when I log into the documentation of the Graph API of Facebook and click on any of the exemple link it ask me to download a file. http://developers.facebook.com/docs/api I tried on differents computer (Windows 7). It works fine on Firefox and Chrome. Does it do the same for all of you? EDIT: See my comment to view the...

How to parse unicode format (e.g. \u201c, \u2014) using PHP

I am pulling data from the Facebook graph which has characters encoded like so: \u2014 and \u2014 Is there a function to convert those characters into HTML? i.e \u2014 -> — If you have some further reading on these character codes), or suggested reading about unicode in general I would appreciate it. This is so confusing to me. I...

check if the user has admin rights for given fan page for Event Sync using Facebook Graph ApI

I want Event Syncing on user's fan pages on their behalfs. For this first i confirmed that user has the admin rights for given page. I google but I can't figure out that how i checked that user has the admin rights for given page. Any one has idea?? ...

Post on a friend's wall on behalf of a user

Hello, I am writing a Facebook application that needs to post on a friend's wall on behalf of a user, but out of the scope of a canvas application. I have the following: App ID App secret publish_stream permissions for the poster This should theoretically be enough to do what I want to. What I am currently doing: Use app ID and app s...

How can I like a Facebook photo via the Open Graph API?

I have several photos in an album for my Facebook fan page. I wrote a small script that shows the latest image uploaded to that album on the homepage of my blog. I'd like to include a small "like" button next to it. Using the Facebook Graph API, I can specify a URL to like. But when I specify the URL to the image page on Facebook, it...

Specify privacy when POSTing to Facebook Graph API

I want to automatically post Notes on Facebook and have them be targeted to just a single member of a group. By target I mean only a specific Facebook user should be able to read the note. Is there a way to do this with the graph API? I see in the old REST API there is a "privacy" parameter on the steam.publish method (see http://deve...

Facebook Graph Api - Get ID for a Url?

This seems like a pretty obvious, basic thing to expect from the Graph API, but I'm having serious difficulty with it. All I want to do is get the ID for any particular Url. They have a method for this: https://graph.facebook.com/?ids=http://www.imdb.com/title/tt0117500/ And that works great. But if I try another Url, say my blog: ht...

Get Facebook event admin from API

Given the id of an event, is there a way to get the Facebook ids of the admins of that event through one of Facebook's many API's? The event is public. I can I know you can get the creator of the event but there may be admins other than the creator and I want to get those people as well. ...

Facebook Graph API, how to get users email?

I'm using the Graph API, but I can't figure out how to get a logged-in users email address. The intro to Graph states "The Graph API can provide access to all of the basic account registration data you would typically request in a sign-up form for your site, including name, email address, profile picture, and birthday" All well and goo...

Posting to Facebook through Graph API - HTML Blog Entry with Inline Images

Let's say there is a blog entry, which you have the HTML for, it looks like this: <h1>Hi</h1> <img src="http://thesource.com/someImage.gif"/&gt; <p>And just a little more text, with a &nbsp;</p> If you use the graph API to send this to Facebook, the message will look exactly as it appears above. I'm using HTMLCleaner in order to clea...

How to get if a user is admin of a page (isAdmin) using the Facebook Graph API?

Using the old REST API, you could do call https://api.facebook.com/method/pages.isAdmin to know if a user was the admin of a given page. How can you do that using the Graph API? I can't find anything about it in the documentation and start to wonder if it's even possible. ...

Must a Personal Profile be Used to Access the Facebook Graph API?

I'm trying to access Facebook data using the Graph API from an external commercial application. I've created a login for my company and gather that I need to register a Facebook App in order to use the Graph API. However, I am confused about the Facebook requirement to associate a Personal Profile (a real person) with the Facebook App. ...

Publishing to a Facebook Page Wall - With Graph API?

I want to publish to the wall of a Facebook Fan Page, from a python/django web application. The new Graph API looks nice and simple, so I'd like to use that. Unless there is a much easier way :-) I'm guessing the pyFacebook package would do want I want, but it appears to use the old rest interface. pyFacebook is probably a complete o...

How to fetch online facebook friends in iphone using Graph API?

Hi Everybody, I want to fetch the facebook user's online friends using Graph API but i am not able to find any help from the net. I am able to fetch the user's friends using Graph API but i want to know who are currently online, also more info about the user's friends like the image url,date of birth etc; I am only able to fetch the u...

Can't get user info from Facebook w/ oauth 2.0 for iphone

As soon as the user is logged in, I retrieve the user info using this code: [_facebook requestWithGraphPath:@"me" andDelegate:self]; It worked for the first few times, but it eventually returned an error. I thought it was a session thing since I have "offline_access" on my permissions. I logged out from Facebook and compiled again from...

How to programmatically "press" a 'Like' button through a Facebook Application?

I'm developing this Facebook Application and I was wondering if it's possible (and how) to programmatically, through the Facebook PHP Graph API, press some 'Like' button on some page? Of course, this is optional on my application... I'm still not ready to really explain what application I'm doing, but it would be interesting to code suc...

Displaying images from Facebook photo albums on a portfolio site using the graph api

A client of mine would like to be able to update her site's image galleries by adding images to albums on her facebook account. Is this possible using JSON? would the albums she chose to display need to be made public? Thanks for any help on this! ...

How to use Facebook Graph api

Hi, I am using facebook graph Api for my application where i want the data of this page. http://www.facebook.com/pages/ In this page there is option TV SHOW I want collect all information of that page. But i didn't any graph api method for this page. Please help me for this problem. ...

Unable to retrieve "me" profile information in Facebook via PHP

Hi folks, I am trying to get some profile information in my Facebook via PHP as specified in, http://developers.facebook.com/docs/authentication/ $user = json_decode(file_get_contents( 'https://graph.facebook.com/me?access_token=' . $cookie['access_token']))->me; When I run this code, I am getting the following warning, Warn...

How to use custom a facebook dialog, like this example

How i can create a custom dialog like this: I'm using iframe application with graph api/new js-api, but i cant figureout a way to reproduce this, the buttons and the title, keep the user languague. regards. ...