Facebook PHP SDK adding permissions after login -
i'm working on integrating facebook php sdk website building, , have question (maybe problem, not sure yet...).
initially planning on setting permissions in initial login allow users post feeds/page feeds through site depending on route prefer, read on fb sdk pages requiring permissions @ initial login not essential @ moment bad practice.
my question how add more permissions later using php sdk? scoured internet 2 days looking example, , haven't been able find one. maybe looking in wrong places. don't know. haven't had luck.
my thought check if permission set, , if not, log user in permission, , use new access token. issue me doing way, have write form data session, call when fb login sequence done.
is thinking correct, or there way better? should stack permissions right off bat, or should way facebook suggests?
the whole reason site using facebook allow users automatically share posts (it art site) when upload piece site, instead of uploading piece having go piece , click share button on page.
hopefully rambling makes sense!
my question how add more permissions later using php sdk?
same way, asked initial permissions:
by calling login dialog again, additional permissions in scope.
Comments
Post a Comment