Building twitter features using Rapid-API
Fullstack
Frontend: https://twitter-rest-api.netlify.app/
Backend: https://twitter-feature-production.up.railway.app/
Note: There can be chance that my rapid-api limit exceeds in such case you will not able to fetch data.
- Search users by name
- Retrieve all tweets of user
For small scale I have used monolithic application
To get started, follow these steps:
Clone the project using git command:
git clone https://github.com/MahangareRohan1203/twitter-feature.git
Configure the rapid-api's secret key in application.properties inside /src/main/java/resources/application.properties.
spring.application.name=twitter-feature
server.port=8080
twitter.baseURL = https://twitter135.p.rapidapi.com
twitter.secretKey = loremalphabeta
twitter.host = twitter135.p.rapidapi.com
Build and run the application.
- Add random clientId and clientSecret in Header while calling rest api endpoints.
https://rapidapi.com/Glavier/api/twitter135
For Finding Users : https://twitter135.p.rapidapi.com/AutoComplete/
For Users Tweet : https://twitter135.p.rapidapi.com/v2/UserTweets/
GET /users?name={elonmusk} - retrieve all users with name elonmusk
GET /users/{userId}/tweets - retrieve all the tweets of a user
- Java
- Spring Boot
- React.js
- RapidAPI