The function of getting the period of a user's following

Hello everyone, I’m developing a chatbot on Python, and I want to know how I can get data about the period of a user’s following to my channel? I am planning to make a special command for this function. Thanks a lot in advance and sorry for my English! :slightly_smiling_face:

The follows API is documented here

Thank you! But how to use these urls in python script?

Pick a python library to do the HTTP requests

Plug the URL and data formats into the library as needed by that libraries docs



I believe most people use requests

I have some sample code (that calls the streams endpoint) here

Thank you again! I seem to have figured it out, but what is ‘client_secret’?

It’s obtained from the dev console

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.