Posts Card

Description: Shows social media posts or blog entries related to the search query.

API Response Structure:

{
  "posts": [
    {
      "content": {
        "title": "Post Title",
        "text": "Post content...",
        "media": {
          "images": ["url1", "url2"],
          "videos": ["videoUrl"]
        },
        "tags": ["#tag1", "#tag2"]
      },
      "author": {
        "name": "Author Name",
        "handle": "@username",
        "verified": true,
        "followers": "50K"
      },
      "metrics": {
        "likes": 1500,
        "shares": 500,
        "comments": 100,
        "views": "10K"
      },
      "platform": {
        "name": "Platform Name",
        "icon": "https://example.com/icon.png",
        "postUrl": "https://platform.com/post"
      },
      "timestamp": "2023-08-15T10:00:00Z"
    }
  ],
  "filters": {
    "platform": ["Twitter", "LinkedIn"],
    "postType": ["Text", "Image", "Video"],
    "timeframe": ["Today", "This Week"]
  },
  "type": "postsCard"
}

Fields:

  • posts (array): Social media posts

    • content (object): Post content

    • author (object): Poster information

    • metrics (object): Engagement stats

    • platform (object): Platform details

    • timestamp (string): Posting time

  • filters (object): Content filters

  • type (string): Always "postsCard"