iOS Facebook switches back to app between login & permissions -
iOS Facebook switches back to app between login & permissions -
i'm trying setup app publish simple post user's facebook feed (image url, link, description). don't need utilize facebook else first time click "share" needs authorize app, , publish permissions.
if have credentials stored in device of ios 6 2 alert boxes , it's done with. if don't, or have older version, switches out safari login. problem is switching user app, 1 time again safari take publish permission. it's jarring , unprofessional.
what page in safari alter after login permissions page can take it, , switch app. know can done because popular mixology app behavior. unfortunately facebook keeps changing sdk , info find online outdated.
i wrote solution here: facebooksdk presents login ui twice avoid double switch.
basically, can utilize openactivesessionwithpublishpermissions:
want. however, have handle special case user has signed in facebook device settings, requires requests read , publish permissions 2 separate calls.
ios facebook login permissions
Comments
Post a Comment