Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Twitter API JavaScript Node Exercise
Rating: 4.6 out of 5(22 ratings)
1,586 students

Twitter API JavaScript Node Exercise

Explore the Twitter Developer API connect from your local machine. Use AJAX JavaScript and Node to setup twitter search
Created byLaurence Svekis
Last updated 11/2024
English
English [Auto],

What you'll learn

  • Navigate the twitter developer API
  • Query to search Twitter for terms
  • Setup a mini application to request content from twitter

Course content

2 sections14 lectures1h 9m total length
  • Course Twitter API introduction3:11

    In this course, you will build a Node.js app to connect to the Twitter API, post tweets, and search tweet objects using Express and body-parser.

  • Course Development Environment2:50

    Explore the course development environment with Brackets, a terminal, localhost, and Chrome developer tools to build and test Twitter API projects using node, npm, and twit.

  • JavaScript and Node Setup Local Server Nodejs NPM7:18

    Set up your local Node.js environment by initializing a npm package, creating index.js, installing express and nodemon, and serving a public index.html as a static page on a chosen port.

  • Explore how to Get Packages NPM4:50

    Install and configure body-parser and twit to parse json and form data, set up a tweets route that accepts a search parameter and returns a json success response.

  • Setup Twitter Developer Application and account10:44

    Log into your twitter developer account, create a new app, and learn to authenticate with consumer keys and access tokens to use the twitter search api and fetch tweets.

  • Output Tweet Object as JSON5:11

    output tweet objects as json from the Twitter API responses, build routes to get and post tweets, test with Postman, and log request bodies to send tweets live.

  • Setup Index Frontend Code7:30

    Set up the front-end to search tweets via the Twitter API using an input and get tweets button, fetch data with Ajax, and display results on the page.

  • Output Tweet Data and use with JavaScript8:01

    Build a dynamic Twitter feed by extracting statuses from a fetch response, looping through tweets, and rendering clickable links with user names and tweet ids.

  • Style and look Nice CSS and frontend view2:16

    Learn to style the tweet output with basic CSS, hover effects, and colored spans, neatly presenting tweet data like user info and retweet or heart counts.

  • Post a Tweet from index page9:00

    Post a tweet from an index page by submitting a form, preventing default, and sending a JSON payload to the backend via AJAX.

  • Source Code Review.7:25

    Review the source code for a node app using express, twit, and body-parser to search tweets and post updates via the Twitter API with authentication keys and tokens.

  • Course Resources0:03

Requirements

  • JavaScript HTML and CSS core fundamentals
  • Computer Access
  • Desire to learn about AJAX and APIs

Description

Perfect course for beginners to explore the MASSIVE twitter API

This course will teach you how to setup a local server, connect the Twitter API and return data to output into your web page.

Its amazing how much information is available on Twitter, connecting the API is easy and can provide real world working experience with JSON AJAX and APIs.  Twitter has a HUGE amount of data within each Tweet Object, getting to know the Twitter API and working with it can provide students with first hand experience that can be used in any number of real world applications.  If you can navigate and output data from this API others are going to be a snap.

Step by step training - includes everything you need to setup and develop a mini application.  You can then use this as a starting point to explore and extend your skills with the endless possibilities.  

NO WASTED TIME - Core focus is AJAX, JavaScript, JSON and node express server.

You will be amazed at how quickly and easily you can be setup to query the API and start retrieving data.  Great for beginners and developers of all skill levels.

Source code is also included so you can copy and paste the exercise application.

Friendly helpful guidance is always available in the Q&A section.  Do you have a question help is not far away.

Taught by an instructor with many years of web development experience, ready to help you learn.

What are you waiting for, nothing to lose take the first step and start having some fun with the Twitter API!!!!

Who this course is for:

  • Web developers
  • Anyone who wants to connect to the Twitter API
  • Beginners who want to practice with a huge API
  • Anyone who wants to test Twitter API locally