Twitter Media Extractor

Collect all metadata from any Twitter medias

Share:  
Table of Contents

Scrape Twitter and extract every single piece of media content off a list of Twitter accounts.

Let's say you follow a few people whose Twitter are a goldmine of cool videos & images. Or maybe you want to do some business intelligence and keep an eye on what your competitors are publishing.

Give us a list of these people and we will extract the URLs where each piece of content is hosted for you. And everything about it at the precise moment: viewcounts, durations, description, etc. What you do with this content is up to you.


Tutorial 🚀

1. Create your account.

Free trial for 14 days. Then switch to a Free plan or become a customer.

SIGN UP

* no credit card required

2. Add this Twitter automation to your account.

3. Click on Configure me!

You'll now see the 3 configuration dots blinking. Click on them.

4. Input the Twitter accounts you want to scrape medias from.

Create a spreadsheet on Google Spreadsheet.

Fill it with Twitter profile URLs. One profile URL per row, all in column A.

Make this spreadsheet public so Phantombuster can access it.

Paste the spreadsheet's URL to Phantombuster.

5. Easy & safe authentication

This automation will connect to the website on your behalf. The safest and most efficient way for Phantombuster to authenticate as yourself is by using your session cookies.

To make that process as easy as possible you can use Phantombuster's browser extension. It's a 2-click installation.

If you're operating from another browser and/or want to do it manually, here is how to do it.

Start your automation!

You're all set. Just click "launch" to get your automation started!

Set this Twitter automation on repeat

Once your automation's configuration is ready, you can schedule repetitive launches. This will allow you to avoid rate limits, scrape more data and get your automated workflows to spread over days, weeks, even months.

To do so, go to your dashboard and look for your automation's “Settings” button.

Then, select a frequency:

And Save those new settings at the bottom of the page.

Output

This API will output CSV and/or JSON containing the following fields:

  • twitterPostUrl (Tweet URL)
  • tweetContent
  • query (Original query (most of the time the Twitter profile / Twitter handle))
  • pubImage (Tweet images URLs (if available))
  • mediaUrl (External media URL)
  • mediaDescription (Description of the external media)
  • duration (Video duration (if available in ms))
  • views (Video views (if available))
  • videoUrl (URL to download the video (if available))

Share this API

Your friends & colleagues need to know about this!