davejohnson/phonegap-plugin-facebook-connect — Issue #44: Some suggestions for the iOS readme
Author: pamelafox
Created: 2011-10-19 02:12:43+00:00
State: open

Some suggestions based on my experience of following the readme:

I couldn't build at Step 7 due to not having the Facebook SDK, so I went on to next step. Not sure what Step 7 was meant to do.

For step 8, URL scheme, I think you only need URLSchemes, not URLName (I looked at FB docs and thats what they did).

For Step 9, for getting the SDK at the suggested hash, these are the git commands I used:
git clone git://github.com/facebook/facebook-ios-sdk.git facebook-ios-sdk
cd facebook-ios-sdk/
git reset --hard 91f256424531030a454548693c3a6ca49ca3f35a

For steps 10-18 I ended up getting the FB SDK in a different way, as there seemed to be issues with the suggested way of doing it in the xCode I was using (http://stackoverflow.com/questions/7489597/why-cant-i-drag-the-facebook-sdk-into-a-new-project). I had to just manually add the FB SDK files to Classes.

After getting it running and seeing whitelist rejection warnings, I added facebooks URLs to the ExternalHosts in the plist-
graph.facebook.com*
api.facebook.com*