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

View counts (images & video) #210

Open
edsu opened this issue Mar 7, 2022 · 0 comments
Open

View counts (images & video) #210

edsu opened this issue Mar 7, 2022 · 0 comments

Comments

@edsu
Copy link
Member

edsu commented Mar 7, 2022

It might make sense to consider displaying and sorting by the view count for media files? The V2 API makes this data available for each media object:

      {
        "height": 360,
        "duration_ms": 7267,
        "type": "video",
        "media_key": "7_1492197623352152070",
        "preview_image_url": "https://pbs.twimg.com/ext_tw_video_thumb/1492197623352152070/pu/img/qDCVe9V1BaYSiH-E.jpg",
        "public_metrics": {
          "view_count": 145151
        },
        "width": 584
      }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant