objective c - get same permission screen every time when login with facebook app installed in the iOS device -


i using facebook ios sdk v3.5 app, found if installed facebook app , not logged ios device (settings > facebook), if logged app first time, works fine: switch facebook app's login view , show permissions "ok" , "cancel" button. after logged app , logged out , logged in again, same permission screen in facebook app still shown. think expected behavior when log in second time should not see permission screen since have granted these in first time log in.

the same thing happens in sample project "scrumptious" in fb sdk v3.5. know how solve problem? thanks.

if understand correctly, behavior working intended. basically, semantic here user has logged out, appropriate ask them confirm log in again. logout code in sample (and in apps) clear token cache on device, next time app asking new token.

you right once user has granted permissions (and until revoke them), facebook servers know this. result there nuanced flow in login screen (you can see granting publish scrumptious, , next time request post akin "you've granted permission").

so, technically not clear token cache why bother log out option.

hope helps.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -