https://github.com/xdevplatform/getting-started-with-dash
Getting started with data visualization with Dash and recent search counts
https://github.com/xdevplatform/getting-started-with-dash
dash twitterapi-v2 visualization
Last synced: 3 months ago
JSON representation
Getting started with data visualization with Dash and recent search counts
- Host: GitHub
- URL: https://github.com/xdevplatform/getting-started-with-dash
- Owner: xdevplatform
- License: apache-2.0
- Created: 2021-09-13T14:19:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-29T15:47:04.000Z (over 3 years ago)
- Last Synced: 2025-04-09T14:05:53.305Z (9 months ago)
- Topics: dash, twitterapi-v2, visualization
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 13
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Getting Started with Dash
Let’s say you want to create a webpage where you can visualize how often you are Tweeting. For example, you could use the recent Tweets counts endpoint and Dash to create a website that automatically refreshes to show how much you are Tweeting throughout the week. The code sample in this repository corresponds to [this tutorial](https://developer.twitter.com/en/docs/tutorials/getting-started-dash). This sample is currently deployed on [Glitch](https://getting-started-dash.glitch.me/).
## Remixing
- Vist the [Glitch project](https://glitch.com/~getting-started-dash) and click where it says "Remix".
- A developer account.
- If you don’t already have access to the Twitter API, [you can sign up for a developer account.](http://t.co/signup)
- A Project in the [developer portal](https://developer.twitter.com/en/portal/dashboard)
- An App containing the credentials required to use the Twitter API. You will be using bearer token authentication for this sample.
- Update your `.env` file to include your bearer token `BEARER_TOKEN=your-bearer-token`
- Update the query to include your own handle
```python
{"query": "from:jessicagarson", "granularity": "day"}
```