开发者

Facebook Integration, iPhone

开发者 https://www.devze.com 2023-03-08 17:38 出处:网络
Facebook i开发者_JAVA技巧s not integrating with my application. even the sample codes are not working

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];
0

精彩评论

暂无评论...
验证码 换一张
取 消