简体   繁体   中英

Implement Facebook Logout using facebook SDK for ios 6

How can I implement facebook logout flow, so that when user clicks on logout button in app, then facebook ask for fresh login. I am using facebook SDK for ios 6.

Any help will be appreciated.

Thanks

You can try this

-(IBAction)logoutButtonPress:(id)sender {
    [FBSession.activeSession closeAndClearTokenInformation];
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM