Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brijeshb42/scroll-twitter-webapp
Test app
https://github.com/brijeshb42/scroll-twitter-webapp
Last synced: about 1 month ago
JSON representation
Test app
- Host: GitHub
- URL: https://github.com/brijeshb42/scroll-twitter-webapp
- Owner: brijeshb42
- License: mit
- Created: 2014-11-15T06:04:13.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-15T16:45:21.000Z (about 10 years ago)
- Last Synced: 2023-05-11T12:05:15.303Z (over 1 year ago)
- Language: Python
- Homepage: http://rocky-temple-6325.herokuapp.com/
- Size: 188 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Twitter app for Test
## [Goto App](http://rocky-temple-6325.herokuapp.com/)
* Initially, the web app presents the user with a link to authorize the app via twitter.
* If the user denies authorization, an error message is shown and the authorization url is again shown.
* If the authorization is granted, a link to fetch the latest tweets with links is presented to the user.
* When the user goes to the link, all the latest tweets of the user's followers are shown sorted by the number of retweets on that particular page.
* A ```Next``` link is also presented to fetch the next set of tweets.
* Every tweet has a link beside its content in the form of ```[#]```.
* On clicking this ```[#]```, the title and description of the link in the tweet is fetched from the server via an ajax call and shown below that particular tweet.
## Local Usage
* clone the repo ```git clone https://github.com/brijeshb42/scroll-twitter-app.git```.
* rename ```twapp/app_settings.py.settings``` to ```twapp/app_settings.py```
* open ```twapp/app_settings.py```
* set TW_API to API_KEY and TW_SECRET to API_SECRET from your twitter application
* set the value of SECRET to any value you like for session encryption
* set the value of PORT to your liking
* now got the root directory
* do ```pip install -r requirements.txt```
* from terminal, run ```python app.py```
* goto ```http://127.0.0.1:PORT```
* make sure that in your twitter application settings, the callback url is set to ```http://127.0.0.1:PORT/callback```