Workflow: Collecting and Analyzing Twitter Feed

This live script shows a basic workflow for collecting and analysing Twitter feed using Datafeed Toolbox with MATLAB.

You are now following this Submission

This workflow example contains basic steps you need to follow in order to retrieve tweets from Twitter API and process them to extract basic useful information. This can be customized and extended for more sophisticated analysis.

To get started, review the instrunctions on Twitter developer website and visit Twitter app dashboard to obtain your credentials.

Cite As

Toshiaki Takeuchi (2026). Workflow: Collecting and Analyzing Twitter Feed (https://ch.mathworks.com/matlabcentral/fileexchange/70224-workflow-collecting-and-analyzing-twitter-feed), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2018b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Added error handling

1.0.0