IPhone Connectivity Issues for Facebook Connect App

I am writing an iPhone application that provides access to a website that has an existing user database. The website uses the Facebook API to also allow Facebook users to link their existing accounts with their accounts on the website.

I need to be able to register on both Facebook and the websites on my website when using our iPhone client, but I am having some problems:

a. Facebook Connect for iPhone: The iPhone app knows that I am registered with Facebook; but the website app is not. Therefore, the website application does not have access to my friends list and cannot tell which website users are actually my friends. I can transfer it manually from the iPhone to the website, but this is inconvenient and presents some security issues as well as bandwidth issues for large friends lists.

B. Facebook Connect via PHP: This would be an ideal situation, as I have full control over the website and can simply let the user log in via UIWebView. However, logging into Facebook Connect using your iPhone has been cut back. IPhone opens the second tab for the xd_receiver.htm page and does not go to the application page. See an example of a Facebook Connect site using an iPhone: http://www.somethingtoputhere.com/therunaround .

C. Direct Facebook Application This severely disrupts the appearance of our iPhone application from outside of Facebook around the application and impairs usability.

What is the right way for our iPhone application to access the website by logging into Facebook and tell the web server a list of our friends?

+4
source share
2 answers

You can transfer sessionKey from FBSession to iPhone to the web server. The web server can then retrieve the friends list of the users as if the user was logged in to the website.

+2
source

Maybe something is missing for me, but why don't you get them to log in again if they want to use the website? This is consistent with the idea of ​​logging in, which I think Facebook will also like - the user explicitly allows access in this way.

Is a website an integral part of your application and you use it with presentations in the application? Why are you using both users?

0
source

All Articles