New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FHSTwitterEngineController is hanging when the user doesnt have twitter installed on the device #113
Comments
Do you have sample code? |
// use FHSTwitterEngine if user didn't setup twitter account on device
|
can you log the error and report back |
there is no error to be logged, the last line of code that is being called is the below: I am using the latest FHSTwitterEngine.h/.m which is old already |
Well.. the date there is the date when the code was created.. not updated Few things
if (success) {
NSLog("yay");
}
else {
NSLog("noooo");
} Better yet you could add logging to Please report back |
i got the code from the link you added, but didnt find the method showOAuthLoginControllerFromViewController anymore is it replaced with another one? |
Please refer to the documentation http://cocoadocs.org/docsets/FHSTwitterEngine, looks like you are looking for |
Thanks a lot for the help, issue resolved |
The issue is in the below method in the FHSTwitterEngine.m line 1726
FHSTwitterEngineController *vc = [[FHSTwitterEngineController alloc]init];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:vc];
vc.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
objc_setAssociatedObject(vc, "FHSTwitterEngineOAuthCompletion", block, OBJC_ASSOCIATION_COPY_NONATOMIC);
[sender presentViewController:navController animated:NO completion:nil];
}
The text was updated successfully, but these errors were encountered: