In my project user get logged-in through Facebook native app(FBConnect) and i kept the user's access token. In my app i have a like button which display the iframe of a facebookpage like button and now when user press the page like button the facebook ask the user to sign in again. Although the user is currently logged-in and the token is validand i am passing the access token in the iframe Here is the code which i am using for creating iframe.
NSString *str=[NSString stringWithFormat:@"<iframe src=\"https://www.facebook.com/plugins/likebox.php?id=XXXXXXXXXXXXXXX&access_token=%@&width=292&connections=0&stream=false&header=false&height=62\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:282px; height:62px;\" allowTransparency=\"true\"></iframe>",accesstoken];
NSString *likeButtonHtml = [NSString stringWithFormat:@"<HTML><BODY>%@</BODY></HTML>", str];
[webview loadHTMLString:likeButtonHtml baseURL:[NSURL URLWithString:@""]];
Please tell me how will i avoid this second login for like a page on iframe