Git Product home page Git Product logo

jalalq / 5203-twitter-googlemap-apis Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 12 KB

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.

CSS 25.64% PHP 63.72% JavaScript 10.64%
twitter-api google-maps-api google-geolocation-api php json google-maps

5203-twitter-googlemap-apis's Introduction

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

5203-twitter-googlemap-apis's People

Contributors

jalalq avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.