How to Automate Member Invitations to a Secret Facebook Group (PHP SDK) -


i've spent week trying figure out, , turning experts on stack overflow little help.

the concept

i've designed front-end , back-end relatively separate. members interact client-side application runs on angular4 frameworks. that, use javascript sdk control facebook login. application not use facebook more login , pixel information, request bare minimum permissions (thus bypassing need application review also).

on back-end, store facebook id of members. facebook id unique identifier, since not users have email address. if member has paid subscription site, backend needs invite them group page has secret privacy setting. membership exclusive group 1 of perks of paid membership.

the problem

here's problem, send member invite, need client_token group administrator. or need have client_token app, if page created created app itself.

what have found

facebook api documentation on client_token sparse. documentation includes redirects user supposedly enters user-name, password , then, when return, client_token passed redirect. however, not work backend, because admin user (me) not going available interact page loaded on redirect.

i thought creating group app utilize client_token owned app itself. however, documentation (current link pointed current api, btw) notes app groups deprecated, not option.

enter image description here

what need know

here need know:

1) how obtain client_token personal user account without being present authenticate each time requested?

2) in addition above, have other advice or tips might have forgotten ask pertains programmatically inviting , removing members?

you can not send invite requests group users via api.

that feature available app & game groups well, gone them.


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -