SerpApi Official icon

SerpApi Official

Get live Google Search data and more from SerpApi's official node

Search → Facebook Profile

AI-generated

Overview

This node interacts with the SerpApi service to perform a Facebook Profile search. It retrieves live data about a specified Facebook profile using the profile ID, which can be found in the profile's URL. This is useful for scenarios where you want to gather public information about a Facebook profile programmatically, such as for social media analysis, marketing research, or data enrichment.

Use Case Examples

  1. Retrieve public data of the Facebook profile 'Meta' by specifying 'Meta' as the profile ID.
  2. Fetch information about a Facebook profile using its numeric ID from the profile URL.

Properties

Name Meaning
Profile ID (profile_id) Defines the Facebook profile ID to search for. This ID is extracted from the profile's URL and is required to specify which profile to retrieve.
Additional Fields Optional parameters to customize the search behavior, including disabling cache, performing asynchronous search, enabling ZeroTrace mode, defining output format, and restricting JSON response fields.
Request Options Settings for request handling such as batching, SSL certificate validation, proxy usage, and timeout duration.

Output

JSON

  • search_metadata - Metadata about the search request and response.
  • search_parameters - Parameters used in the search query.
  • search_information - Information about the search results, such as timing and count.
  • facebook_profile - The main data object containing the Facebook profile information retrieved.

Dependencies

  • SerpApi service with an API key credential

Troubleshooting

  • Ensure the provided Facebook profile ID is correct and accessible publicly; private or restricted profiles may not return data.
  • If using async mode, remember to retrieve results later using the Search Archive API as results are not immediately available.
  • Disabling cache may increase response time and usage quota; use it only when fresh data is necessary.
  • Timeout errors may occur if the server is slow or network issues exist; consider increasing the timeout setting.
  • SSL certificate errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this reduces security.

Links

Discussion