Facebook URL to ID avatar

Facebook URL to ID

Try for free

No credit card required

Go to Store
Facebook URL to ID

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 demo

Facebook URL to Identified object

Allowed any publicly available (without login) Facebook URLs for desktop web https://www.facebook.com/*. Supported pages, posts, videos, groups and more. For profiles only ID might be available (depends on profile privacy).

Input example

Redirect from https://www.facebook.com/nintendo resolved as https://www.facebook.com/NintendoAmerica and public group germtheory.vs.terraintheory resolved as group with post.

1{
2   "fbUrls": [
3        "https://www.facebook.com/nintendo",
4        "https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGjvewuFYhviAwQjTdxZW1ZfnWTeCzxVWgZLT3xgoLHVDwvuenVRyKKl",
5        "https://www.facebook.com/NintendoAmerica/posts/pfbid02AB8FNERMDYwpsgVJVYaEQ8K2vpH4JLzPTvTB71WqiMfNQhu99ZMBmqvKZSt2tqT4l",
6        "https://www.facebook.com/groups/germtheory.vs.terraintheory/permalink/5671657859577842/"
7    ]
8}

Output example

details stripped since too dirrerent across data. Pattern is url as was provided in input, facebookId calculated by actor from data (more like a suggestion) and typed object with details:

1[
2   {
3      "url": "https://www.facebook.com/nintendo",
4      "facebookId": "119240841493711",
5      "page": { ...details }
6   },
7   {
8      "url": "https://www.facebook.com/groups/germtheory.vs.terraintheory",
9      "facebookId": "430027810407566",
10      "group": { ...details }
11   },
12   {
13      "url": "https://www.facebook.com/NintendoAmerica/videos/432168259120897/",
14      "facebookId": "432168259120897",
15      "video_home_www_related_videos_section": { ...details }
16   }
17]
Developer
Maintained by Apify

Actor Metrics

  • 65 monthly users

  • 8 stars

  • >99% runs succeeded

  • Created in Dec 2022

  • Modified 3 days ago

Categories