Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook iOS SDK not working

My class is a FBRequestDelegate and I'm not getting any errors on build yet I get nothing from didFailWithError or didReceiveResponse. I've been searching for close to a week now and simply cannot figure out what is wrong:

-(BOOL)postToFacebook:(NSString *)status{
    NSLog(@"Posting to Facebook with status: \"%@\"", status);

    NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
    [params setObject:status forKey:@"message"];

    [facebook requestWithGraphPath:@"me/feed"
                         andParams:params
                     andHttpMethod:@"POST"
                       andDelegate:self];

    params = nil;
    return YES;
}
like image 472
Connor Grady Avatar asked Dec 06 '25 12:12

Connor Grady


1 Answers

I ended up just switching my entire project over to Facebook's old REST API for the time being. I've had so many troubles with the Facebook iOS SDK while using ARC, it isn't even worth it anymore.

like image 74
Connor Grady Avatar answered Dec 09 '25 01:12

Connor Grady



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!