Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More information for following_bands #3

Open
Peter200lx opened this issue May 7, 2018 · 1 comment
Open

More information for following_bands #3

Peter200lx opened this issue May 7, 2018 · 1 comment

Comments

@Peter200lx
Copy link

Peter200lx commented May 7, 2018

/api/fancollection/1/following_bands:
post:
summary: Get the bands a user is following
tags:
- Fan Collection
requestBody:
$ref: '#/components/requestBodies/FanCollectionBody'
responses:
'200':
$ref: '#/components/responses/FanCollection'

The body of the request POST looks the same:

{
  "fan_id": 1234,
  "older_than_token": "1387353233:2721882214",
  "count": 3
}

Except the "older_than_token" field is very different, this time having two fields ##:##:

            "date_followed": "18 Dec 2013 07:53:53 GMT",
            "band_id": 2721882214,
            "token": "1387353233:2721882214",

Again the first field is a timestamp, and the second is an id, but this time there is no type or index variable.

Starting fields can be found from <div id="pagedata" data-blob="{JSON HERE}"> on your fan page. Inside the JSON look for .item_cache.following_bands. I believe any "token" from there can be used to start a POST request to /api/fancollection/1/following_bands

@Peter200lx
Copy link
Author

It appears that /api/fancollection/1/followers has the same rules where token is a two-field entry for "date_followed":"fan_id". Tokens can be found from .item_cache.followers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant