facebook

what are best practices on asking user to add the facebook app to their page?

Hello I am looking for a best way to ask/forward user so he/she adds my app to their page one way is to make them follow the link http://www.facebook.com/add.php?api_key=[your application api key]&pages (http://www.facebook.com/add.php?api_key=1fc2946c634702dfc75cce79c97c8cec&pages -real life example) wrapping up the questi...

How to determine how many pages did user add my facebook application to?

I need to give the user ability to add my application only to certain amount of fanpages that he owns(is a admin of), how can I determine how many pages of particular user use my app? ...

How can I upload photos to album using Facebook Graph API

Here is the code: $file= 'bbbb.jpg'; $data = array( basename($file) => "@".realpath($file), "caption" => "Uploaded using graph api", "aid" => '13595', "access_token" => $accessToken, 'method' => 'photos.upload' ); $sds =$facebook->api($data); This is the error Uncaught C...

How to call Ajax to run a PHP file while maintaining PHP & Javascript variables.

Hi Stackoverflowers. I'm using the Facebook php-sdk to get the users name and friends, right now the loading friends part takes about +3 seconds so I wanted to do it via Ajax, e.g. so the document can load and jQuery then calls an external PHP script which loads the friends (their names and their profile pictures). So to do this I did: ...

How to pass a link to Facebook iPhone app status update?

It's possible to create href-attibutes that makes the iPhone quit Safari and launch another app. For the official Twitter-app this would look like: <a href="twitter:///post?message=my+important+message">Click to deliver message to Twitter-apps status updater</a> For the Facebook-app the protocoll is: fb:/// But i can't figure out, ...

Facebook: get list of pages that a user is admin of

I'm using the graph api. I have a logged in user, and want to get back a list of page ids of all the pages that the user is an admin of. Is there a way of doing this? The docs are pretty bad - and circular. ...

IE / Facebook Issue : Why Facebook Like box not display in Internet Explorer 6 - IE8 ?

IE / Facebook Issue : Why Facebook Like box not display in Internet Explorer6 - IE8 ? Facebook like box display throgh my web application on every browser excluding IE-IE8 Now final Application.html file contains are < !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/DTD/strict.dtd"&gt;&lt;BR&gt; < html xm...

How digg retrieve password from facebook? (at Facebook connect)

When I logged into Digg using Facebook account, Digg asked me to create it's own account. I agreed, antered usernae only(!). And after that i have possibility to login into the Digg without Facebook connect. So question is - How Digg Knows My Password? ...

Can I access an age-restricted Page's wall feed through the Facebook API?

I'm currently working on a website for an alcohol brand, and they want to display posts form their Facebook wall on their own website. Naturally they have restricted their Facebook page to 18+, but this means that the wall feed is not publically available, and also not accessible via http://graph.facebook.com/(page_id)/feed Is it poss...

Facebook request permissions javascript?

Trying to do 2 things request offline and user_events permission perminant session key Need a feed from facebook for events and there is no rss for it. Any help would be greatly appreciated!!! Currently have the following <!doctype html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"&gt;...

facebook infinite session key javascript

Looking to run through something very similar to (http://www.emcro.com/blog/2009/01/facebook-infinite-session-keys-no-more/) but using javascript instead. Any ideas on how to accomplish this? ...

Need to create Facebook 'back button'

I'm finishing up creating a Facebook contest app. On all pages of the app is a link to our Rules and Regs. At the bottom of this page, I want to have a 'Back' button that will do just that...send the user back to whatever page they came from. However, I cannot use the simple traditional javscript:history.go(-1) method b/c FBJS doesn't...

Facebook Connect: Authentication and login issue

I am trying to integrate Facebook Connect as the only means of logging in to our community site. I am having a problem with session persistence as my application seems to regularly loses it's Facebook login session. First, I'd like to know if I have to execute this code for each page on my site: $fb_params = array( 'appId' => $id, ...

Tagging a user in Open Graph API using Ruby

Hello, I have found some really sparse documentation about the options for posting to your feed. I am trying to post to "/me/feed" and then include a user in that post. I am trying to re-create the way that you can now do @username in the Facebook Status box, but from the API instead. Using the Ruby OAuth2 lib I to do the following. ...

Help with Several Facebook like buttons on one page

I have created a page where there are various items on a page and people need to vote on them by clicking "recommend" (like how they have it on levi.store.com). The items are sorted based on the number of "recommends" they receive. The problem I am having is that there are 100 of these items, and when I try to display them it becomes way...

Facebook , Is there are way to get my pages with a acces token or on behalf of me(with provided permissions)?

Well It seems that we have not a lot of Facebook people here, still it is a nice place to ask. How can I get the pages that user that gave me an extended permission is a admin of? ...

Facebook Invitations Do not reach Facebook Friends | AS3 | IFrame | FBML | FLEX | FLASH

Thank you for bothering and taking the time to read!!! So, I have an xd_receiver.htm file in place within the same directory as the index.htm. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Cross-Domain Recei...

how to display the fb:dialog button in button click event in fbml mode

Hi All, I am developing the facebook application in fbml mode. For displaying dialog boxes i am using javascript in fb:iframe mode. Instead of fb:iframe i want to user fbml dialogs in fbml mode. How can i display the dialog buttons when i click on button. Please help me regarding this. Thanks in advance, Ibrahim Khan. ...

Set up facebook UrchinTracker for aJax calls for Google Analytics

I have set up the Google Analytics in my FBML facebook application. It works for tracking the php pages. (I can see the report in GA). However, I also want to track the aJax calls, because most of the pages of my application is ajax driven, rather than loading differnet php pages. so, that's what I put in the code (before ajax call) ...

Facebook users invitions by e-mail

I have a problem - need to add to site friends invite in style, as use this Youtube and Skype . Both of this networks has users e-mails, but havent associate every userID`s in Skype/YouTube with they e-mail. But both of networks have 3 things: Friends from external IN they network , but not friends on current network Friends from exter...