Facebook URL to ID
Try for free
No credit card required
View all Actors
Facebook URL to ID
apify/facebook-url-to-id
Try for free
No credit card required
Scraping any Facebook URL as data object with internal Facebook ID and metadata if-when available.
Do you want to learn more about this Actor?
Get a demoYou can access the Facebook URL to ID programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1echo '{
2 "fbUrls": [
3 {
4 "url": "https://www.facebook.com/nintendo"
5 },
6 {
7 "url": "https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGjvewuFYhviAwQjTdxZW1ZfnWTeCzxVWgZLT3xgoLHVDwvuenVRyKKl"
8 },
9 {
10 "url": "https://www.facebook.com/NintendoAmerica/posts/pfbid02AB8FNERMDYwpsgVJVYaEQ8K2vpH4JLzPTvTB71WqiMfNQhu99ZMBmqvKZSt2tqT4l"
11 },
12 {
13 "url": "https://www.facebook.com/groups/germtheory.vs.terraintheory/permalink/5671657859577842/"
14 }
15 ]
16}' |
17apify call apify/facebook-url-to-id --silent --output-dataset
Facebook URL to ID API through CLI
The Apify CLI is the official tool that allows you to use Facebook URL to ID locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include:
Developer
Maintained by Apify
Actor metrics
- 50 monthly users
- 7 stars
- 100.0% runs succeeded
- Created in Dec 2022
- Modified 1 day ago
Categories