Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Live Social Media Reddit Tasks

服务器:https://openapi.felo.ai
客户端库

DataForSEO

​

SEO, search-engine results, keyword research, backlinks and AI visibility data.

Live Social Media Reddit Tasks

​

Intended to return Reddit sharing counts for targets. 🔴 Currently unavailable upstream: it answers status_code 50304, This function temporarily unavailable. Please contact support, with no tasks array at all - the failure is at the top level of the envelope, not inside a task. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. The Pinterest sibling post_dataforseo_business_social_media_pinterest_live works and costs almost nothing; for Reddit content itself, the reddit server reads the platform directly.

请求体
必填
application/json
  • 类型: array object[]
    • targets
      类型: array string[]
      必填

      target URLs required field target page should be specified with its absolute URL (including http:// or https://) example: https://dataforseo.com/ Note: you can specify 10 targets maximum. You will be charged per earch URL you specify in this array

    • tag
      类型: string

      user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response

响应
  • 200
    类型: object

    Successful response

    • result
      类型: array string[]

      array of results

    • result.author_name
      类型: string

      nickname of the author nicknname of the user who published the post in the subreddit and shared the URL

    • result.page_url
      类型: string

      URL of the page the data is provided for corresponding URL you specified in the targets array when setting a task

    • 类型: string

      URL to the subreddit post

    • result.reddit reviews
      类型: array string[]

      reddit reviews for the page_url

    • result.subreddit
      类型: string

      the name of the subreddit

    • result.subreddit_members
      类型: integer

      number of subreddit members

    • result.title
      类型: string

      title of the subreddit post

    • result.type
      类型: string

      type of element = ‘social_media_reddit_item’

    • tasks
      类型: array string[]

      array of tasks

    • tasks.cost
      类型: number

      cost of the task, USD

    • tasks.data
      类型: object

      contains the same parameters that you specified in the POST request

    • tasks.id
      类型: string

      unique task identifier in our system in the Universally unique identifier (UUID) format

    • tasks.path
      类型: array string[]

      URL path

    • tasks.result_count
      类型: integer

      number of elements in the result array

    • tasks.status_code
      类型: integer

      status code of the task generated by DataForSEO; can be within the following range: 10000-60000

    • tasks.status_message
      类型: string

      informational message of the task

    • tasks.time
      类型: string

      execution time, seconds

    • version
      类型: string

      the current version of the API

    • version.cost
      类型: number

      total tasks cost, USD

    • version.status_code
      类型: integer

      general status code you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions

    • version.status_message
      类型: string

      general informational message you can find the full list of general informational messages here

    • version.tasks_count
      类型: integer

      *the number of tasks in the **tasks*array

    • version.tasks_error
      类型: integer

      the number of tasks in the tasks array returned with an error

    • version.time
      类型: string

      execution time, seconds

    application/json
  • 400

    Bad request

  • 401

    Unauthorized

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    Rate limit exceeded

  • 500

    Internal server error

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for post/v1/beta/dataforseo/business_data/social_media/reddit/live
curl https://openapi.felo.ai/v1/beta/dataforseo/business_data/social_media/reddit/live \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '[
  {
    "targets": [
      ""
    ],
    "tag": ""
  }
]'
{
  "version": "string",
  "version.status_code": 1,
  "version.status_message": "string",
  "version.time": "string",
  "version.cost": 1,
  "version.tasks_count": 1,
  "version.tasks_error": 1,
  "tasks": [
    "string"
  ],
  "tasks.id": "string",
  "tasks.status_code": 1,
  "tasks.status_message": "string",
  "tasks.time": "string",
  "tasks.cost": 1,
  "tasks.result_count": 1,
  "tasks.path": [
    "string"
  ],
  "tasks.data": {},
  "result": [
    "string"
  ],
  "result.type": "string",
  "result.page_url": "string",
  "result.reddit reviews": [
    "string"
  ],
  "result.subreddit": "string",
  "result.author_name": "string",
  "result.title": "string",
  "result.permalink": "string",
  "result.subreddit_members": 1
}
Live Social Media Reddit Tasks