facebook

New Facebook FQL table vs. Grap API

Hello everyone I just read the new User fql table fields at http://developers.facebook.com/docs/reference/fql/user As I can see a lot of the fields have been deprecated such as work_history or books and movies. It is quite essential for my app to get all those fields for my user's friends in a single fql query. If i am not wrong the o...

facebook connect

hi friends i m developing website which has facebook connect functionality, all the websit is working well with facebook connect, but only problem is that when i click to the logout button of facebook connect i got the popup window with the facebook CSS, which is not showing correctly, i want to change or update the CSS of facebook conne...

Adding Fanpage + Likes + Connect to a site

Hello everyone, Intro My site has Facebook connect implemented. Now I have added a facebook page widget and trying to add a "Like" button to various pages. The problem is that all the tutorials suggest completely different ways to load the FB apis for each of these purposes: Different init sequence, different JS files, etc Questio...

Sending messages to users

I need to be able to send users of a Facebook application a message, even if they are not logged in. Is this possible? If sending a message is not possible, could i post to their wall or news stream? ...

FB.Data.query with better performance

I'm using this code for take user's events from facebook: var query = FB.Data.query("select eid,name,start_time,location,venue,pic_small,pic_big,description from event WHERE eid IN (SELECT eid FROM event_member WHERE uid={0}) AND start_time >= now() ORDER BY start_time LIMIT 10", uid); query.w...

cookies required in FBConnect in android?

In My FBLoginActivity there is a error message "cookies required" with yellow background has shown. how to remove it or how can i rectify it? ...

Can you authenticate Facebook Graph entirely from command line with Python?

I'm writing a (tabbed) application for Facebook that requires a background process to run on a server and, periodically, upload images to an album on this application's page. What I'm trying to do is create a script that will: a) authenticate me with the app b) upload an image to a specific album All of this entirely from the command...

what is the best way to get user name by id with FQL

hello im trying to query with facebook notification table using FQL im getting the user_id but how can i get result and get the user name in the same FQL query? ...

How to enable commenting on the Facebook Like Button

I'm integrating the Facebook Like Button into a site. The likeing functionality is working fine except that you cannot add comments to your like after you've clicked the like button. Several sites including CNN has this working so this should be possible. The docs mention that you need to use the JavaScript SDK to get commenting to work...

[Rails] HTTP Get Request

I've been trying to get Rails to play with the new Facebook Graph API. After I get the authorization "code", I need to send another request which returns the access token in JSON form. It seems to work fine, however I want to fetch the access token JSON without redirecting the user. I'm attempting to use Net::HTTP.get, but I'm not sure ...

How to properly log out of facebook

This is a repeated question and I have followed both the suggestions provided in these StackOverflow links: How to log-out users using FaceBook connect in php and zend Trouble logging out of a FaceBook connect site and destroying sessions The issue is - the code works 90% of the time. Thats the weird part. Out of the 100 times I've l...

Cannot get a session with Facebook app? (using its Graph API)

I have really simple few lines of Facebook app, using the new Facebook API: <pre> <?php require 'facebook.php'; // Create our Application instance. $facebook = new Facebook(array( 'appId' => '117676584930569', 'secret' => '**********', // hidden here on the post... 'cookie' => true, )); var_dump($facebook); ?...

Unable to display wap version during "Extended permission"

Hi, Im trying to redirect to facebook to request permission to publish stream. However, it only works when i did not specify any display parameters, it shows me a web version of it. I wanted a wap version instead. What should I do? Here's the code: <form method="post" action="https://graph.facebook.com/oauth/authorize"&gt; <input ...

Facebook Application with PHP running losing session

Iam trying to build an Facebook Application based on PHP. The Application is running under php on my own Webhost inside an Canvas as iFrame. I have included the newest Client Library for PHP from Facebook: facebook-php-sdk-94fcb13 To Authorize the user inside my application iam trying to use Facebook Connect, like the example shipped w...

Facebook Canvas Apps, New API

I'm having some trouble with switching to the new JS API for a number of things with creating applications within FB, specifically the "Tab". <!-- function do_perm() { Facebook.showPermissionDialog('publish_stream,email,offline_access', null); } //--> This no longer works for me when called via an onclick command. Also, with the ...

Authorization error in facebook aplication

require_login($required_permissions = 'email,photo_upload'); $auth= $facebook->do_get_session($_GET['auth_token']); $facebook->set_user($s['uid'], $s['session_key'], $s['expires'], $s['secret']) ?> Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Invalid parameter' in /home2/puneetbh/public_html/prideapp/faceb...

Facebook "Like" button callback

Hello, I am interested in implementing the facebook "Like" button, but I would like to know what user is clicking on this button so I can get some useful information from this. From what I have read, facebook is leaving us in the dark on who is clicking on what. ANyone have an idea on how I could track which user clicked on a like button...

Retrieve group events with Facebook Graph API.

I'm a little confused trying to adapt to the new facebook Graph API. Whereas before I would have used events.get, I'm not entirely sure what to use now! I can't seem to get a list of a group's events through fql, nor through the Graph API itself. Any pointers? Should I keep using REST? ...

Silverlight - Access Facebook Api on Client Side or through Server Side Wrapper?

I am wondering how to access facebook api best using Silverlight. Right now i am developing a silverlight(+ria services) app for facebook. I see 2 possibilities: 1) Access facebook api using the facebook developer kit for silverlight (Facebook.Silverlight.dll) 2) Create a service class on Server Side which acts as a wrapper for easy ...

Facebook new js api and cross-domain file

Hi all, I am building a simple facebook iframe application. I've decided since the code is separate from facebook none the less, I will also create a connect website as well. In my connect website I'm trying to figure out the following: I am using facebook's new api and I am calling the init function. I can't seem to figure out where I...