How to get all the user IDs of people who are using your Facebook application -
is there way user ids of people using facebook application?
doing extensive research concluded there's no method this!
what have found:
old rest api called friends.getappusers gets ids of user's friends authorized application.
what wish had found:
after reading app login section in authentication document:
in addition user login, facebook platform support app login using oauth 2.0 client credential flow. app login allows take various administrative actions app, such retrieving insights data or approving requests.
i thought application object have direct method (similar accounts):
$facebook->api("/app_id/users"); but wrong. , introduction of insights feature, shocked can count of user ids!
what can do:
storing user id in db user authorize application , if application has users (most case), check if have record each user interacts application in db...this way, you'll user ids active users in no time.
Comments
Post a Comment