Felo API PlatformFelo API Platform

数据 API / DataForSEO / Business 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.

参数

没有路径、查询或请求头参数。

请求体

  • targetsstring[]必填

    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

  • tagstring可选

    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

请求示例

curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/business_data/social_media/reddit/live" \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "targets": [
    "<string>"
  ],
  "tag": "<string>"
}'

响应

响应字段

  • versionstring可选

    the current version of the API

  • status_codeinteger可选

    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

  • status_messagestring可选

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

  • timestring可选

    execution time, seconds

  • costnumber可选

    total tasks cost, USD

  • tasks_countinteger可选

    *the number of tasks in the tasksarray*

  • tasks_errorinteger可选

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

  • tasksstring[]可选

    array of tasks

  • idstring可选

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

  • status_codeinteger可选

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

  • status_messagestring可选

    informational message of the task

  • timestring可选

    execution time, seconds

  • costnumber可选

    cost of the task, USD

  • result_countinteger可选

    number of elements in the result array

  • pathstring[]可选

    URL path

  • dataobject可选

    contains the same parameters that you specified in the POST request

  • resultstring[]可选

    array of results

  • typestring可选

    *type of element = ‘social\_media\_reddit\_item’*

  • page_urlstring可选

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

  • reddit reviewsstring[]可选

    reddit reviews for the page\_url

  • subredditstring可选

    the name of the subreddit

  • author_namestring可选

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

  • titlestring可选

    title of the subreddit post

  • permalinkstring可选

    URL to the subreddit post

  • subreddit_membersinteger可选

    number of subreddit members