Added Sharekit group to my project and getting so many compiled warnings.
In this it is a static instance and passing self parameter in a static method is not right as there is no particular instance of this object in static methods. How i can fix this.
+ (void)logout
{
FBSession *fbSession;
if(!SHKFacebookUseSessionProxy){
fbSession = [FBSession sessionForApplication:SHKFacebookKey
secret:SHKFacebookSecret
delegate:self];
}else {
fbSession = [FBSession sessionForApplication:SHKFacebookKey
getSessionProxy:SHKFacebookSessionProxyURL
delegate:self];
//delegate:[self sharedSomeProtocolDelegate]];
}
[fbSession logout];
}
Anyone please.
Thanks