FriendFeedClient (for Objective-C)
I ripped my FriendFeed code out of FFSync into a separate Cocoa framework for use in another application.
As I add more things to FFSync and other apps I’ll update this.
Right now it is trivial (it hides ~100 lines of code), but if it saves you some work, have fun.
@implementation Driver
- (void)doIt {
FriendFeedClient* client = [FriendFeedClient nickname:@"douglasp" remoteKey:@"get-your-own"
delegate:self];
[client newPost:@"better to spend one day as a lion, than a thousand years as a lamb"
withLink:@"http://www.onedayasalion.org/"];
}
- (void)responseReceived: (NSURLResponse *)response {
NSLog(@”response”);
}
@end
Disk image with framework binary and source at http://www.douglasp.com/files/friendfeedclient.dmg.