facebook - fb security warning while trying to login with fbgraph api -
while trying login fb, using graph api, web page appear showing message.
security warning:please treat url above password , not share anyone. in ios fb graph api.
this error occurs not time, half of time.
how skip fb message ?
i found 1 solution. hope work you.
just paste uiwebviewdelegate method in fbgraph.m file....
- (bool)webview:(uiwebview *)webview shouldstartloadwithrequest:(nsurlrequest *)request navigationtype:(uiwebviewnavigationtype)navigationtype{ if([request.url.relativestring hasprefix:@"https://www.facebook.com/connect/login_success.html" ]) self.webview.hidden=true; return yes; }
Comments
Post a Comment