โš™๏ธ YouTube Subscribers - Pagination Workflow Formula By steve


Get a list of up to 1,000 YouTube subscribers for your channel, including name, channel ID & photo, of users who subscribe to you and make their subscription data public. This formula’s workflow will automatically paginate through the YouTube Data API Subcriptions Endpoint on your behalf, aggregating all the results together into a single CSV file.

Getting Started

Import this formula to copy the workflow into your account, which will ask you for your OAuth Access Token. You can go to the Google OAuth Playground to get your token, just select https://www.googleapis.com/auth/youtube.readonly for your scope and click the next button to get your Access Token. Run the workflow and you’ll get back your subscriber data in a single CSV.

Note: The API seems to returns duplicates when paginating through multiple pages. Be sure to de-duplicate the items.id column (which is done automatically if you use this in another workflow like the YouTube Subcriptions Formula).

โš™๏ธ  YouTube Subscribers - Pagination

YouTube Subscribers - Pagination Token (Self-Loop) Pagination Limit: Unlimited โžก๏ธ Pagination Token

Pagination token from the previous response. Leave this blank at first and then look for the nextPageToken value in the response’s root collection to get the next page of results.

  • YouTube OAuth Access Token

    OAuth access token for the YouTube account owning the channel you’d like to get the subscribers for. Get your own OAuth token using the Google OAuth Playground and pick the https://www.googleapis.com/auth/youtube.readonly scope. See How to Get Your YouTube OAuth Token for more information.

    IMPORTANT You can only scrape YOUR subscribers and get back only up to 1,000 subscribers who make this information public. The API will stop returning results after this amount.

Part Example: id,subscriberSnippet

The data you’d like back in comma-separated list. Please see official endpoint documentation for details and quota costs:

  • id
  • contentDetails
  • snippet
  • subscriberSnippet
Pagination Token Example: QWRTSl9pMXBPTTB4Ulk1VVNxMFtPQjFrVEdMRFowbjhTdHFfaWdpUlBYVFBNLWFpc0M5Q3pPaXRTYXhKU1JKbDFsVjgxVDRQTjVYbUgxdw==

Pagination token from the previous response. Leave this blank at first and then look for the nextPageToken value in the response’s root collection to get the next page of results.

Order Example: relevance

Order to return subscribers back. Possible values:

  • alphabetical
  • relevance
  • unread

Extractors

  • YouTube Subscribers .items
Posted by steve on March 31, 2020, 12:17 p.m. ๐Ÿšฉ  Report