Twitter BioCloud is a small project that aims to paint a picture of a Twitter user by using the Twitter bios of all the accounts a user follows. A word cloud is created that highlights the most commonly used words in all the bios.
Sign up as a Twitter developer and add your API credentials to an .env
file in the project directory:
CONSUMER_KEY=xyz
CONSUMER_SECRET=xyz
ACCESS_TOKEN=xyz
ACCESS_TOKEN_SECRET=xyz
Then, run npm install
to populate dependencies.
Run npm run start
, then go to http://localhost:8000
in your browser.
- Fork it🍴
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request🍕
I often find myself stumbling upon new Twitter accounts and wondering what that person's interests are before I follow them. More often than not, Twitter bios alone don't do justice. One day I had the idea of using the bios of all the accounts a user follows to create a word cloud highlighting most commonly used words amongst them all. Based on my limited testing, this has proven to paint quite an accurate picture of a user's true interests.
- Make it more fault tolerate
- Research Twitter's API rate limiting more deeply and see if I can host this web app publicly
- Thanks to timdream for his awesome wordcloud2.js javascript library
- Thanks to ttezel for his awesome node twitter API client twit
- Thanks to Bootstrap for making it easy to make a little web app look kind of OK
- Thanks to jessety for helping me get over an initial speedbump
The MIT License (MIT)
Copyright (c) 2014 Steve Abbagnaro
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.