facebook

How can I update my business' Facebook page via my Ruby on Rails app?

I'm creating a new rails app for my business, and I just finished a new feature where I can put an announcement on the website (for specials, sales, etc.). I want this announcement to automatically be set to my business' Facebook page. How can I easily do this? Is the only way to create a Facebook application, and then if so, can a Fa...

Facebook Graph API + Facebook Pages

Using Facebook's Graph API, given a username xyz (assuming they've authenticated my site), how do I get a list of all of the facebook pages that the user administers? ...

How to login in website using facebook id

Hi i made a website and in it i used username and password for login to my site.But i have seen that in so many website, we can connect through facebook account.And i want to add same to my web site.How is it possible? Thanks ...

How to extract facebook page replies into a website?

Hi all, I've got a facebook page. In it there is the RSS feed of posts from my blog. In the facebook page people have replied to my blog posts that where posted on facebook. Now I wish to show these replies on my blog. Is there any way for doing that? ...

How to post a message on my Facebook wall?

All Facebook SDKs for Android require an "application key", which I assume is the API key for a facebook application that must be created on Facebook. Since all I want is to post to my wall without dealing with Facebook applications, is there an SDK for Android that doesn't require these api keys? ...

Using FBML in a ruby sinatra app

Hi, I'm building an application in ruby using the sinatra framework and am having trouble with rendering some fbml elements. I'm currently trying to render an fb:multi-friend-selector so the user can select which friends they want to invite. However, when I write the following in my code: <fb:fbml> <fb:request-form action="/invit...

How can I display the users profile pic using the facebook graph api?

Hi, I would like to display the users profile picture inside of my applications canvas page, is there a way to do that using the graph api? I know I can do it using FBML but I would also like to pass the profile pic to a flash game I am making, so I would have to get the profile pic from the api and send it as a variable, here is the co...

Publishing a post on users' wall by facebook app

Hello, I need to generate a picture from facebook user profile picture and post it to some users' walls. For instance, $attch = array( 'media' => array((array('type' => 'image', 'src' => 'https://graph.facebook.com/'.$uid.'/picture', 'href' => 'https://graph.facebook.com/'.$uid.'/picture/'))); 'src' => 'h...

Facebook user profile picture

Hello, I need to generate a picture from facebook user profile picture and post it to some users' walls. For instance, $attch = array( 'media' => array((array('type' => 'image', 'src' => 'https://graph.facebook.com/'.$uid.'/picture', 'href' => 'https://graph.facebook.com/'.$uid.'/picture/'))); 'src' => 'https://graph.facebook.com/'.$uid...

How do I send Facebook notifications using the graph api?

I have a facebook app that hooks into an external calendar built using PHP and MySQL. Some of the events in this calendar have associated facebook events, some don't. The external calendaring system also supports invitations and responses to events. When a user is invited to an event on the non-facebook calendar, I would like to be ab...

Embedding flash into a facebook iframe canvas

Hi guys, I would like to embed a flash file into my facebook iframe canvas, I am using the PHP sdk, here is my code, echo "<fb:swf swfsrc=\"http://my.site.com/facebook-test/the_file.swf\" width=\"760\" height=\"710\" />"; I have tried everything but it still doesn't seem to want to display. Thanx in advance! ...

Facebook PHOTO UPLOAD API

$has_permission = $facebook->api_client->users_hasAppPermission("photo_upload"); if($has_permission and $_GET[pub]){ $response_array = $facebook->api_client->photos_upload("temp/".$user_id.".jpg", "", "Created with http://apps.facebook.com/mshantest/", $user_id); } im trying to upload photo in my app using this code but it doesnt ...

Uploading a picture to a album using the graph api

Hi guys, I am trying to upload an image to a album, but it's not working, here is the code I am using, $uid = $facebook->getUser(); $args = array('message' => $uid); $file_path = "http://www.site.com/path/to/file.jpg"; $album_id = '1234'; $args['name'] = '@' . realpath($file_path); $data = $facebook->api('/'. $album_id . '/photos', ...

Facebook API problem

$message = 'Check out this cute pic.'; $facebook->api_client->stream_publish($message); Fatal error: Call to a member function stream_publish() on a non-object in "my host link here" on line 5 im gettng this when its publishing but .....but the message is published ...

mac - can i use the social plugins of facebook

How can i use the social plugins from facebook in my mac, and can i use them all? ...

Fanpage/Application integration: how to post to a fan page from an application

I have an existing client who has a fan page for their brand already. I need to create a Facebook Connect enabled website (so I'll be creating an application for it). I want the Facebook Connect application to post to the Fan page's wall as the brand. Is this possible? Is there a way to associate an application with a Fan page if I was a...

How can I tag a user in a photo using the Facebook Graph API?

I tried: $args = array( 'access_token' => $access_token, 'id' => $uid ); $url = "https://graph.facebook.com/{$idPhoto}/tags"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOP...

Uploading a picture to facebook

Hi guys, I am trying to upload a image to a gallery on a facebook fan page, here is my code thus far, $ch = curl_init(); $data = array('type' => 'client_cred', 'client_id' => 'app_id','client_secret'=>'secret_key',' redirect_uri'=>'http://apps.facebook.com/my-application/'); // your connect url here curl_setopt($ch, CU...

how to create Facebook PHOTO_addTag using PHP

I need to add auto tagging to my facebook application so how can i add it ???? please let me know ...

NullPointerException on facebook login using servlet

after solve class notfound exeption i have to find error when i login in face book using given example http://code.google.com/p/facebook-java-api/wiki/Examples java.lang.NullPointerException com.google.code.facebookapi.ExtensibleClient.<init>(ExtensibleClient.java:111) com.google.code.facebookapi.ExtensibleClient.<init>(Exten...