Medium is a great way to reach your audience with meaningful content. When a post starts reaching tons of people, it is hard to keep track of every clapper.
Stop copy-pasting by hand
No matter how many clappers a post may have, retrieve in a few seconds a CSV with the Medium profile URL, full name & job of every clapper. Once you have it be creative and enrich your database. You can for example find everyone's LinkedIn profiles thanks to our "Linkedin Profil URL Finder" 🔍
What will you need? ⚙️
"uid": 1st Medium session cookie required
"sid": 2nd Medium session cookie required
"spreadsheetUrl": List of all the medium post you want to scrape
"csvName": CSV file name
Which steps to follow?
1. Create an account on Phantombuster.com 💻
If you haven't already, create a FREE account on Phantombuster. Our service will browse the web for you. It’s a website automator which runs in the cloud. Once done we'll follow up.
2. Use this API on your account.👌
Now that you're connected to Phantombuster, Click on the following button (it will open a new tab).
3. Click on Configure me!
You'll now see the 3 configuration dots blinking. Click on them.
4. Medium authentication 🔑
Because the script will manipulate Medium for you, it needs to be logged in to your Medium account. For that you just need to copy paste your 2 session cookies in the script argument:
Using Chrome, go to your Medium homepage and open the inspector
→ Right click anywhere on the page and select “Inspect”
→ CMD+OPT+i on macOS
→ F12 or CTRL+MAJ+i on Windows
Locate the “Application” tab
Select “Cookies” > “http://www.medium.com” on the left menu.
Locate the “uid” & "sid" cookies.
Copy their “Value” (Double click on it then Ctrl+C) and paste them into your script Argument)
This API will output CSV and/or JSON containing the following fields:
profileurl (Medium profile URL)
name (Name of the clapper)
description (position of the clapper)
articleurl (link of the original targeted article)
Like all APIs on Phantombuster, this API comes with an HTTP endpoint. Launch it from your computer, app or server with a simple HTTP request and get its result as JSON. Click Use this API above to create your new endpoint.
Clone this API
The script below is all that's required to make the API work. If you're a developer, click the button to clone the code into a new Custom API Agent in your Phantombuster account. This operation will allow you to customize the API to your exact needs. This will also create a custom HTTP endpoint.
Feeling adventurous? Unsatisfied with the current state of this API? Send us pull requests on GitHub to improve the API store! The script is here and you might be interested in reading our documentation here