Assign admin role for facebook page via FaceBookGraph API

I have a facebook page and am the admin of this page. Now I want to assign an administrator role to someone from my friends list using the Graph API.

In the docs, I found how I can list the administrators of a single pege ussing account parametar, but I cannot find how I can add someone to be the page administrator.

Thanks in advance.

+5
source share
3 answers

No, It is Immpossible.

Just think about it. If allowed, will any fb application capture your pages?

, fb-, API, , , .

: , , , (/), , , .. ?

+1

POST /{pageID}/admins? access_token = {Page_access_token} & owner_email = {some user emai}, : "error": {    "message": "(# 100) ",    "type": "OAuthException",    "": 100

, , , , , tome tokens. , API.

0

I managed to add an administrator through the Graph API using the Koala library for Ruby; @ page_api.put_connections ('your page id', 'role', {'admin_id' => 'user id from your friends list}}

0
source

All Articles