Skip to content

Integration of the Twitter and Google Map APIs. Based on the search query for tweets, the app, places marker on the map for the location of the users tweeting the tweets matching the search query.

Notifications You must be signed in to change notification settings

JalalQ/5203-Twitter-GoogleMap-Apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Integration of the Twitter and Google Map APIs. Based on the search query for tweets, the app, places marker on the map for the location of the users tweeting the tweets matching the search query.

The API project makes use of two APIs, Twitter API, and Google Map Javascript, and Geocoding API.

  • The user searches for tweets based on keyword. The Twitter API return tweets which has the search query in the tweets. The location field value from the user object of these tweets is fetched.
  • The location value is then passed to Google Map GeoCoding API which tries to retrieve the latlong values for each of the valid locations.
  • The latlong values are then plotted on the map with a marker, using Google Map Javascript API.
  • Tweets matching the search query are also listed along with the username and time of posting are also listed below the map.

Code Limitation

The source code in the repo will not run when cloned due to the following reasons. The Google Map API key found in the index.html is HTTP referrer restricted. The Twitter Bearer Token (in the index.php file) has been hidden. To run the code, kindly fetch your own Google Map API key and Twitter Bearer Token.

Screenshots

tweet_results

readme

postman-twitter

About

Integration of the Twitter and Google Map APIs. Based on the search query for tweets, the app, places marker on the map for the location of the users tweeting the tweets matching the search query.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published