facebook

Facebook's condensed multi friend selector layout and rendering doubt

Hi, This is my first time working on a facebook app. I created an iframe app (i.e selected 'iframe' as the 'canvas type' when registering the app). I have this situation where there is a multi friend selector form in the sidebar of the app (which has a width of about 200px). Screenshot: The relevant code for generating that form is a...

i have a facebook user logged in my app. how to get ID's of his friends?

If I have in my web application a facebook user logged in. I want then to be able to post to his friends sth on their new's feed. For this I need an ID of his friend that i want to post to.(at least I think I should need an id or maybe there is some other way). So the question is how to get the ID's of his friends. I can get all the nam...

Facebook Apps: Adding Tags To Photo's

I was wondering if the old REST api will be supported for a long time... I need support for tagging on images, which was available in the old rest api (http://developers.facebook.com/docs/reference/rest/photos.addTag), but not anymore in the new graph api I've found that a couple of methods are still going to be depreciated at the end o...

facebook fql query to retrieve friends posted items

Is there any fql statements allowed by facebook that helps to fetch contents of this page through an application interface: http://www.facebook.com/posted.php I know the links table returns the posted item for a logged in user (http://developers.facebook.com/docs/reference/fql/links). I need the same but for the logged-in user's friends....

How to attach several photos to a wall post?

If you go to this app's wall: http://www.facebook.com/mindjolt they somehow attach several photos to each wall post. Is there a way to do this programatically? Looks like they are posting to the wall manually, but I can't even figure out how to do this through facebook interface. Any ideas? ...

Problem in Sending postMessage in FaceBook for Android app

Hi i working on small facebook appliction but i have problem is to post message to wall can any one tell me how i can do that. i tried following type i get this error. Please any one help me .................... ERROR ==>>{"error":{"type":"OAuthException","message":"An active access token must be used to query information about the curr...

adding tabs to my facebook fan page

Hello, I am trying to add a new box on the main view of our Fan Page. And populate it with HTML from our main web server when the user opens the fan-page. I do not want to create any application and then add it as a tab. I simply want to load contents of the tab from a web page. Is there any way to do this ? ...

Which ruby gems support the Facebook social graph api?

I'm developing a rails application using the facebook api. I've seen a few different ruby gems for integrating with facebook, but the look dated. Is it best to write low-level calls myself? Or is there a decent and current gem available? ...

posting high score on facebook using graph api

Edit: 10-9-10 I think the app is crashing when the JSON library tries to parse the [NSString stringWithFormat:@"%d weeks",[components week]] How would i format it so that JSON can parse it? here's the JSON code line NSString *attachmentStr = [jsonWriter stringWithObject:attachment]; NSMutableDictionary* params = [NSMutableDict...

Facebook oauth/access_token missing

Hi all Dunno if Im missing something but here goes. Im trying to get an access_token for my application so that it can go and look up events for certain public groups on facebook, without requiring a user to be logged in. Im trying to get an access_token from https://graph.facebook.com/oauth/access_token?client_secret=foobar&clie...

Is there a way to find Awesomium cookies?

I use embedded Awesomium 1.01 in game application to authorize it in Facebook through OAuth and then use Graph API. Now I need to update the game so that you don't have to login again every time you launch the application (Of course, I don't store app "access token" between two launches of the application). 1) I can achieve that if I ha...

Facebook Chat using XMPPFramework on iPhone

Does someone already created an iPhone app that connect to the Facebook chat server using their X-FACEBOOK-PLATFORM authentication mechanism and XMPPFramework ? I have no idea how to start, any code sample would be much appreciated. ...

'Like' button click fails in Firefox

I'm adding a Facebook 'like' button to the DOM using this jQuery plugin: http://onerutter.com/open-source/jquery-facebook-like-plugin.html It works fine in all browsers except Firefox. The way it works is that when a certain link is clicked, some data is loaded including the URL for the 'Like' button to use, so a new Like button is gene...

Facebook API - Accessing a users album and using a photo

If extended permissions have been granted to the app to access a users albums, is it at all possible to display a selector where the user can choose one of their photos and then upload that photo to my website via a form submission? ...

Trouble getting code parameter on facebook oauth callback

Hello, I'm writing a Django app requesting permission to post on facebook. I can access authorization and callback, but I can't get the parameter 'code' that facebook needs to continue with oauth. def connect_fb(request): return redirect("https://graph.facebook.com/oauth/authorize?" +"client_id=MY_ID&" +...

Is it possible to put an iframe inside a Facebook page tab?

According to the Facebook developer roadmap, it will soon be possible to put iframes inside page tabs but it's not yet available. I came across this Store Locator on Coach page which uses an iframe to display a Google map inside a tab : http://www.facebook.com/Coach?v=app_168904438199&ref=ts Looking at the source code, I see the ma...

Facebook invite friends in a lightbox

We are trying to have the Facebook invite friends dialog open in a lightbox in our application. Here is the FBML that goes inside the lightbox: <fb:serverFbml width="760px"> <script type="text/fbml"> <fb:request-form method="POST" action="<%: Url.Action("InviteFacebookFriends", "Friends", null, "http...

Retrieve user's custom lists of Facebook friends with Graph API

It's a hard topic to google, brute-forcing it will be the next step if I can't get an answer here ;-) I want the lists that users can create; something like this in PHP with some other API : $facebook->api_client->friends_getLists(); I've tried to "metadata=1" /me/friends, but I can't seem to be retrieving any leads... Anyone? ...

How to post a link using FB API as a fan page

I'm able to post a message with a link using stream.publish and the author of posts is a page itself as needed. But the links are not included in links feed e.g. https://graph.facebook.com/113996318619716/links or just a "Links" box on the fan page. The reason I need posts to be included in links feed is the relationship with Like butto...

Facebook Authentication using cURL (php)

I'm trying to use cURL to do facebook authentication and here's what I have: $url = "https://graph.facebook.com/oauth/access_token"; $postString = "?client_id=$client_id&redirect_uri=$redirect_uri&client_secret=$client_secret&code=$code"; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); ...