Facebook i开发者_JAVA技巧s not integrating with my application. even the sample codes are not working Is facebook having some problem with iOS because the documentation and sample codes on developer.facebook also not found.
use this sharekit
it can integrate facebook, twitter, and much more apis
Try this new facebook grpah api
code for login on any button
fbGraph.accessToken = nil;
NSHTTPCookie *cookie;
NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sharedHTTPCookieStorage];
for (cookie in [storage cookies])
{
NSString* domainName = [cookie domain];
NSRange domainRange = [domainName rangeOfString:@"facebook"];
if(domainRange.length > 0)
{
[storage deleteCookie:cookie];
}
}
[self loginButtonPressed:nil];
精彩评论