Spiral gives your agent every tool with one account. Browse the tools →

VS Code · Social Media

How to Use Facebook Page details in VS Code

Get a public Facebook Page's business details, follower and like counts, rating, and available business hours. Use it to check a business listing or compare brand audiences.

Prompts to try with Facebook Page details in VS Code

Copy an example into VS Code, or ask in your own words.

Use Facebook Page details for https://www.facebook.com/mantraindianfolsom and compare its address, phone, and website with our restaurant records.

Facebook Page detailsVS Code
Try asking
  • Use Facebook Page details for https://www.facebook.com/NASA and add the returned follower and like counts to our reporting fixture.

  • Use Facebook Page details for https://www.facebook.com/mantraindianfolsom and render its available weekly hours, preserving separate opening periods.

  • Use Facebook Page details for https://www.facebook.com/Starbucks and https://www.facebook.com/dunkin to populate our brand comparison table with audience counts.

  • Use Facebook Page details for https://www.facebook.com/LEGO and compare its published website with the URL in our partner directory.

How to set up Facebook Page details in VS Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Facebook Page details

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/facebook-profile",
        "input": {
          "url": "https://www.facebook.com/mantraindianfolsom"
        }
      }'

Then paste one of the prompts above: VS Code finds Facebook Page details on Spiral, shows the price and runs it.

Facebook Page details providers and prices

Spiral runs Facebook Page details through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
Facebook · Profile
scrapecreators/facebook-profile

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Cache max age1d, 3d, 7d, 14d, or 30d

If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). See the Caching page for details.

Every API field of Facebook · Profile is on its tool page: open its card above.

What can you do with Facebook Page details in VS Code?

Build a business listing checker using Facebook Page addresses, phone numbers, and websites. Your coding agent can compare the returned details with project records and prepare proposed corrections.

Check business listings

Compare a business's published Facebook address, phone number, and website with its directory listing. Prepare a list of discrepancies for review.

Compare brand audiences

Build a table of follower and like counts for a selected list of public business Pages.

Measure audience changes

Compare repeated follower-count snapshots for public brand Pages to calculate changes between your observations.

Prepare restaurant hours

Turn available Facebook business hours into a weekly schedule that preserves separate lunch and dinner periods.

Review business service descriptions

Collect published categories and services from selected restaurant Pages for a comparison of their listed offerings.

Build a partnership brief

Summarize a public brand Page's category, audience counts, website, and published business contact information before a partnership discussion.

Questions about Facebook Page details in VS Code

Can VS Code use Facebook Page details?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Facebook Page details like any built-in tool.

How much does Facebook Page details cost in VS Code?

$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

Do I need a ScrapeCreators account to use Facebook Page details in VS Code?

No. Spiral runs Facebook Page details on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up Facebook Page details in VS Code?

About two minutes: add the hosted server, then sign in.

Does VS Code wait while Facebook Page details runs?

Facebook Page details runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

Can this retrieve complete details for an age-restricted Facebook Page?

Coverage is limited to available public fields for gated or age-restricted Pages. A restricted Page should not be expected to return the same business details as a normal public Page.

How fresh are the Facebook Page details?

ScrapeCreators says live requests fetch the latest information Facebook makes available. Cached responses reflect an earlier scrape and do not trigger a new Facebook retrieval.

Does every Page include a people talking about this count?

No. ScrapeCreators returns that count only when Facebook exposes it publicly, so coverage varies by Page.

Can business hours show a restaurant's midday closure?

Yes. The documented example includes two opening periods on the same day: 11:00 to 14:30 and 17:00 to 21:30.

Is this data supplied through an official Facebook API?

No. ScrapeCreators describes its service as an unofficial Facebook API.

Get started

Start using Facebook Page details in VS Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into VS Code:

Set up VS Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options