facebook

What's the easiest way to let people add friends from Facebook, Gmail, etc?

Rather than just grabbing the user's friends' emails, I want to show their list of friends with profile pic, etc in my app. Is there a "widget" (JS and HTML) way of doing this, rather than going to the trouble of coding everything yourself using Facebook, Gmail, etc libraries for your server-side language? ...

Facebook Connect: hasPermission() from js?

Is it possible to determine whether a user has granted my app a specific permission or not via javascript? Something similar to how you do it in php: $fb->api_client->users_hasAppPermission('publish_stream'); I know i can request a permission with FB.Connect.showPermissionDialog('publish_stream', null); But i just wan't to know i...

Facebook Page - Latest Stories Posted?

Not sure if this is possible. I want to grab the latest X stories posted to a facebook page wall and embed them into an external site - preferably with PHP. Something like the latest tweets but with a facebook page. ...

echoing our parts of an Array?

I have the following array that I get as an output from facebook: http://www.paste.to/v/1jntlnml With the following code: $stream = $facebook->api_client->stream_get('',128342905144,'0','0',30,'','','',''); foreach($stream as $wallpost) { echo '<pre>'; print_r($wallpost); echo '</pre>'; } So I get the data that I need...

Navigate from facebook tab to canvas page

My facebook application has a tab the user can install. On this tab, there is links that are suppose to link to application canvas (ex.: apps.facebook.com/my-app). It seems that when I'm on my user profile tab and click on a link, Facebook loads the page inside the tab. How do I force it to navigate out of the tab and into the canvas pa...

How many javascript link I can have in Facebook?

Is there a limit of how many js file I can include () in facebook? I include 5 files. no problem.. the 6th one not loaded. Then I have to put the code in the 6th one into the 5th file. then works. so, is it 5 files in max? BY THE WAY, I'm developing the apps now, not in production. so it is not in the stage of compressing JS / minizin...

Facebook module for Drupal 6

Hi there! Could you recommend a Drupal module that provides similar features like http://drupal.org/project/twitter for Facebook? Thanks ...

the facebook php api_clinets call_method is returning empty strings

I m developing a php app for facebook in which m using api_client methods to call facebook functions but whenever i call the methods it returns an empty string ...

Fbml Appllication - Select friend and Post a news on friend's wall - New method

I'm a newbie facebok developer from Italy Sorry, but my english is very poor. I would like to ask you how to create in my facebook application a multi-friend selector to allow my users to post news on friend's wall. How can I let my user select friends, and than send to those friends a news on their wall? I 'don't know ajax, so please c...

facebook application designing?

im creating an facebook application that gets uploaded pictures in albums. no display design. i want to display the pictures in my facebook application like album pics in facebook. im using php..(how to design the facebook application to view multiple photos, form) ...

Copy android contacts' birthday to calendar

I'm an htc tattoo owner, and i'm watching for a way to copy contacts' birthday (retrieved from facebook) to the built-in calendar. I'm not afraid to develop a custom app but i'll be more happy if there's one built-in or already existing... Thinking over this thing, i realized there's more fun creating a custom app... :P Do you k...

Facebook API need to get applications uid with only key not any logged in session

Hi, I am creating a WP facebook sidebar, basicly I have a facebook application API key and Secret Key the problem i am experincing is i need to get the UID of the applications owner using only the API KEY or Even the Secret Key... At this point in the app no user is logged in at all Is this even possible? Thanks Ricky ...

Facebook API errors with "Session key invalid or no longer valid"

Doing some work with Facebook connect/the RESTful API and for some reason i keep getting this error Session key invalid or no longer valid As far as i can tell im authenticating correctly. Getting the session key from the cookie after the facebook connect dialog pops up and the user logs in. Then i open up the extended permissions dia...

regular expression to parse youtube embed code

I want to take the youtube embed code that youtube provides and use a regex to convert it to valid FBML code i.e. use the fb:swf tag. Has anyone done something like this? So far the regex I've come up with is : preg_replace('/<object(.*)<\/object>/i', "Whatever I need here...", $str); I know its lame but its my first try. Thanks for ...

Playing videos in facebook application

Hello, How do I play videos in facebook fbml application? Is there a tag for that? ...

Facebook Connect: what type of user profile information can be retrieved?

When enabling Facebook Connect, any facebook user can then login to your website, what type of user profile information can my website retrieve? Username? Email? First Name? Last Name? ...

Facebook: Session Key in Application Tab on Fan Page

Is this possible? I have my application installed on a Fan Page's tab. I want to call certain methods like Photos.get, and can't of course, without a session key. Basically I'm wanting to get the photos belonging to that Fan Page, not the visiting user. Anyway for me to call such methods in this scenario? Thanks in advance! ...

Can I "add friend" with FAcebook's API?

Does their API allow my Facebook-connected user to add a friend? ...

Techniques for extracting the 'best' image from a webpage.

I'm trying to build something akin to Facebook's "Share" functionality for my website. I've gotten to the point where I can accept a URL, scrape it for meta keywords and suitably get titles/descriptions, but I'm a bit stuck as to the best way to determine 'likely' photos the user may want to share. I currently use the SimpleXMLElement ...

Facebooker SSH Tunnel

I'm working through some inital setup of a dev environment for Facebook trying to use Facebooker and its SSH tunnel to expose my dev site. I’m having a lot of trouble with the SSH tunnel. I’ve made sure port 4007 is open and my SSH config contains both GatewayPorts yes and GatewayPorts clientspecified. I can connect to the tunnel OK on ...