Social Links Scraper
Pricing
$30.00/month + usage
Go to Apify Store
Social Links Scraper
This actor crawls a list of input URLs and extracts social media links (e.g. Facebook, Twitter/X, Instagram, LinkedIn, YouTube, TikTok, etc.) that exist on those pages.
5.0 (1)
Pricing
$30.00/month + usage
0
4
4
Last modified
3 days ago
Scrapy Actor – Social Media Link Extractor
This actor crawls a list of input URLs and extracts social media links (e.g. Facebook, Twitter/X, Instagram, LinkedIn, YouTube, TikTok, etc.) that exist on those pages.
🚀 How it works
- You provide a list of URLs as input.
- The actor visits each URL and scrapes all
<a>
tags. - It filters out links that match known social media domains.
- Results are stored in the Apify dataset in the following structure:
{"Input Url": "https://www.example.com/","Facebook": ["https://www.facebook.com/example/"],"Twitter/X": [],"Instagram": ["https://www.instagram.com/example/"],"LinkedIn": ["https://www.linkedin.com/in/example1/","https://www.linkedin.com/in/example2/"],"TikTok": [],"YouTube": [],"Pinterest": [],"Reddit": [],"Snapchat": [],"Tumblr": [],"Threads": [],"Discord": [],"Twitch": [],"WhatsApp": [],"Raw Text": "Text Data"}
📥 Input
The actor expects a JSON input with an array of URLs:
{"startUrls": [{ "url": "https://example.com" },{ "url": "https://another.com" }]}
📤 Output
The dataset will contain one item per input URL, with each social platform as its own column.
Input URL | Twitter/X | YouTube | TikTok | Snapchat | Tumblr | Threads | Discord | Twitch | Raw Text | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://example.com | https://facebook.com/example | https://instagram.com/example | Full scraped text from the page... | ||||||||||||
https://another.com | https://linkedin.com/company/test | Full scraped text from the page... |
Fields:
- Input URL – the page where links were found
- Facebook – extracted Facebook links (array)
- Instagram – extracted Instagram link (array)
- LinkedIn – extracted LinkedIn link (array)
- Twitter/X – extracted Twitter/X link (array)
- YouTube – extracted YouTube link (array)
- TikTok – extracted TikTok link (array)
- Pinterest – extracted Pinterest link (array)
- Reddit – extracted Reddit link (array)
- Snapchat – extracted Snapchat link (array)
- Tumblr – extracted Tumblr link (array)
- Threads – extracted Threads link (array)
- Discord – extracted Discord link (array)
- Twitch – extracted Twitch link (array)
- WhatsApp – extracted WhatsApp link (array)
- Raw Text – all text found on page
🌐 Running on Apify
- Go to the actor’s page on Apify.
- Click Try actor and provide the input JSON (see Input section).
- Run the actor.
- View results in the Dataset tab (exportable as JSON, CSV, or Excel).
📚 Example social domains handled
- Facebook →
facebook.com
,fb.com
- Instagram →
instagram.com
,instagr.am
- Twitter/X →
twitter.com
,x.com
- LinkedIn →
linkedin.com
- YouTube →
youtube.com
,youtu.be
- TikTok →
tiktok.com
- Pinterest →
pinterest.com
- Reddit →
reddit.com
,redd.it
- Snapchat →
snapchat.com
,sc.com
- Tumblr →
tumblr.com
- Threads →
threads.net
- Discord →
discord.com
,discord.gg
- Twitch →
twitch.tv
- WhatsApp →
wa.me
,whatsapp.com
📝 Notes
- Some websites hide social links inside menus, scripts, or dynamic sections. This scraper only extracts static
<a>
tag links.