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?
jurek epimetheus
source share