Can I list followers via API?

Solved!
Posted in General by Joe McCarron Mon May 11 2015 10:13:01 GMT+0000 (UTC)·6·Viewed 805 times

As a Yo developer I want to be able to **list a user's subscribers** so I can make a complete Yo client. Without the ability to list subscribers I can't provide a UI for sending Yo's to individual subscribers.
Mike Chase
May 11, 2015
Hello, You can use the following RPC calls: htps://api.justyo.co `POST /rpc/get_followers` - get the users whom have added you as a contact `POST /rpc/get_contacts` - get the users whom you have added as a contact They both accept the following json parameters: ``` {"api_token": "YOUR TOKEN", "username": "USERNAME"} ``` Please note, You can only get this information for yourself or the users listed under your account when logged into `http://dashboard.justyo.co`.

Or Arbel marked this as solved
Maarten Paauw
July 28, 2015
Trying to add the feature to my php class but received a 404 from both endpoints. Does this still works?
Or Arbel
July 29, 2015
Yup, just tried it.
Mike Chase
July 31, 2015
Make sure you are performing a `POST` and that you are using the following domain: `htps://api.justyo.co`
Maarten Paauw
July 31, 2015
Ah, fixed it. Did send a POST request to http://api.justyo.co/rpc/get_followers/ instead of http://api.justyo.co/rpc/get_followers.
Markdown is allowed