> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hobbo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Linkdin Post

> This endpoint is used to fetch reviews from linkdin for a specified business.



## OpenAPI

````yaml POST /linkdin/post
openapi: 3.1.0
info:
  title: OpenAPI Plant Store
  description: >-
    A sample API that uses a plant store as an example to demonstrate features
    in the OpenAPI specification
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.hobbo.ai
    description: Main API server
  - url: https://py-api.hobbo.ai
    description: Python API server for scraper endpoints
security:
  - ApiKeyAuth: []
paths:
  /linkdin/post:
    post:
      description: >-
        This endpoint is used to fetch reviews from linkdin for a specified
        business.
      requestBody:
        description: linkdin review scraping parameters
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkdinPostRequest'
        required: true
      responses:
        '200':
          description: Post fetched successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkdinPostResponse'
              examples:
                validationError:
                  value:
                    all_reviews: []
                    extra_information: {}
                    message: <string>
        '400':
          description: Validation error or unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                validationError:
                  value:
                    error: <string>
      servers:
        - url: https://py-api.hobbo.ai
components:
  schemas:
    LinkdinPostRequest:
      type: object
      required:
        - query
      properties:
        query:
          type: string
          description: Linkdin page URL
        is_text_formatted:
          type: boolean
          description: 'returns the review text with visual formatting preserved '
    LinkdinPostResponse:
      type: object
      properties:
        all_reviews:
          type: array
          description: Array of fetched posts from LinkedIn
          items:
            type: object
            properties:
              author_info:
                type: string
                description: Bio/description of the post author
              author_name:
                type: string
                description: Name of the post author
              author_profile_image_url:
                type: string
                description: URL of the author's profile image
              author_profile_url:
                type: string
                description: URL of the author's LinkedIn profile
              comment_count:
                type: string
                description: Number of comments on the post
              like_count:
                type: string
                description: Number of likes on the post
              link:
                type:
                  - string
                  - 'null'
                description: External link shared in the post
              links_in_linkdin:
                type: object
                description: >-
                  Object containing links mentioned in the post with their
                  display text as keys and actual URLs as values
              query:
                type: string
                description: Original query URL used to fetch the post
              review_date:
                type: string
                description: Date when the post was published
                format: date-time
              review_image_urls:
                type: array
                description: Array of image URLs from the post
                items:
                  type: string
              review_text:
                type: string
                description: HTML content of the post
    Error:
      type: object
      properties:
        status:
          type: integer
          description: HTTP status code
        data:
          type: object
          description: Empty object or additional error data
        success:
          type: boolean
          description: Indicates operation failed
          example: false
        message:
          type: string
          description: Error message describing what went wrong

````