Skip to content

Simple wrapper around facebook-ios-sdk. Post to a Facebook wall, return profile pic and data.

Notifications You must be signed in to change notification settings

stephenjames/FacebookHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple wrapper around facebook-ios-sdk to allow posting to a Facebook feed from iOS5

To pull down run
git clone --recursive -b master [email protected]:stephenjames/FacebookHelper.git


See the sample project for setup /FacebookHelperSample.  Some notes:

1.  The FacebookHelper instance is access via the application delegate.  You need to setup an ivar.

2. You need to set your Facebook application id in AppDelegate.h and FacebookHelperSample-Info.plist.  You need to apply for a Facebook application id at https://developers.facebook.com/apps

3. To post a message call 
FacebookHelper *helper=[FacebookHelper helper];
[helper writeToFeed:message withDelegate:self];

which will respond via the delegate method below
-(void) didWriteToFacebookFeed:(FacebookHelper *)helper withFacebookUsername:(NSString *)username andProfilePicture:(UIImage *)profilePicture;
 

4. The sample project has the facebook-ios-sdk setup as a git submodule

About

Simple wrapper around facebook-ios-sdk. Post to a Facebook wall, return profile pic and data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published