facebook-connect

Getting publish_stream extended permission from the user

I was ussing Facbook connect in my iPhone app, but in december the posts stopped working. After some research I found that i'm supossed to use stream.publish, something like: NSString *att = @"{\"bob\":\"i\'m happy\",\"caption\": \"User rated the internet 5 stars\", \"description\": \"a giant cat\"}"; NSDictionary *attachment = [NS...

Facebook: Unable to get users' birthday

Hello All, I have been trying hard for the last 5 hours or so to get the facebook users' birthday through facebook connect but I have not managed to do so. The same code worked previously and still works on other sites made earlier (old ones) but does not seem to work again. Here is the code: require_once ('./connect/facebook.php'); $...

Diffence between FQL query and Graph API object access

What's the difference between accessing user data with the Facebook Graph API (http://graph.facebook.com/btaylor) and using the Graph API to make a FQL query of the same user (https://api.facebook.com/method/fql.query?query=QUERY). Also, does anyone know which of them the Facebook Developer Toolkit (for ASP.NET) uses? The reason I ask ...

how do use the facebook connect api's with the iphone?

I am currently developing an iphone application which is nearing completion but i want to add in the functionality to be able to connect with facebook. I can grasp the basic functionality of this such as connecting and posting status updates and feeds but id like to be able to interact with friends and events within facebook, much like t...

why my website display in FB Login window After Login through facebook?

Hi All I am Integrating Face book application with Our Website. My Website is in Java's [Google Web Toolkit] Framework 2.0.1 When we press FB-connect connect then FB's Login window comes, after that user enters email & pwd. When user clicks FB's connect button then Our website display in that Login window. Authentication and ...

How to get friends' status updates from facebook with FB Connect for iPhone?

Hello! This is my first question in here, but I've gotten loads of help from other posts in here, so thanks for a great community! Ok, I've got my Facebook session set up and I'm able to log in and get my UID. But when I run this query, I get a blank result: - (void)getUserName { NSString *fql = [NSString stringWithFormat:@"select ...

Post on a logged in users facebook wall

Hey all, I've created a widget that will essentially unlock a music track, providing you post to either your twitter account, or facebook wall. I've signed up through facebook connect and I am able to successfully post onto my own wall... but the functionality I'm looking for is to be able to take ones username and password and automa...

Facebook Friends.getAppUsers using Graph API

I have an application that uses the old REST API call Friends.getAppUsers to get the list of friends for the current user that have authorized my application. I have read the docs, but I can't figure out how to do this with the Graph API. Can someone give me an example? ...

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...

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...

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 ...

Facebook connect integration (registration & login)

Hi, I'm really struggling to make facebook connection working for my system. What I want to do : When the user is not yet registered on facebook : Fetch some user profile fields into my database (ideqally via my registration page already working for non facebook users) Log the user into my website Redirect the...

Facebook connect - automatic trigger 'request extended permissions' dialog

For certain pages(functionalities) of the site, i need different permissions. I am requesting those permissions only if (and when) user is accessing those parts of the site. The normal flow is to display a 'Please allow us to send you emails' link using something like: <fb:prompt-permission perms="email""> Please allow us to send ...

Facebook Graph and PHP API

I've been working at this for a few hours, but the poor documentation is of no help. All I want to do is grab the data that exists at https://graph.facebook.com/cocacola/ as an example, and I cant even do that. I'm using the latest php API from facebook. This is my code, which returns nothing: <?php require '../src/facebook.php'; /...

Facebook connect ifUserConnected() does not work - FB.Connect is undefined error

I'm trying to integrate Facebook connect to my website. The login button appears and i'm able to login. The profile picture and the name is displayed properly. However when I try adding the code FB.Connect.ifUserConnected, I get a error message saying FB.Connect is not defined. This is what I'm doing <div id="fb-root"> </div> <script s...

Don't Allow link generates a 500 Internal Error

I'm developing an application for Facebook using the iframe mode and ASP.NET. I'm able to use the new OAuth method that combines the allow and the extended permissions. When I click on the Allow everything works as expected, but when I click on the "Don't Allow" I get a 500 internal error. The Request For Permission url is: http://www....

Getting a users Facebook profile url

I am creating a registry site so similar people can find each other easily. I don't want to use Facebook Connect as the primary log in method or use Facebook to store their information. I'll be creating a database on my end to store that info. For security reasons I won't be displaying the users address, phone number or email address ...

Having trouble with event creation using the events.create API with the iPhone SDK

I'm using the FBConnect library in my iPhone app, and I'm trying to create Facebook events. After getting a valid session and verifying permissions, I'm using events.create and getting what looks like a valid event ID back from FB in a success response. Oddly the event isn't showing up on my account's Events page either in current or in ...

How to publish to Facebook page stream and appear as application instead of user

Background: I have successfully used the Facebook Graph API to publish activity on a particular web site to a Facebook fan page's stream (wall). To do this I had to create a Facebook application for the web site and add it to my own Facebook user profile, with necessary authorizations. Problem: I don't want all the status updates to ...

Facebook connect

Is there anyway of using facebook connect within an iPad or iPhone application. The idea would be to sign into this App and then be able to see which of my facebook user's also use the app and its features. ...