🐦 Twitter Post Details

Viewing enriched Twitter post

@patloeber

The URL context tool is now generally available in the Gemini API and comes packed with new features! The tool lets you provide additional context to the models in the form of URLs and now also has image and PDF endpoint support! Makes adding context for Gemini much easier :) https://t.co/pIJUoj4TcC

Media 1

📊 Media Metadata

{
  "media": [
    {
      "url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/1957501491612381485/media_0.jpg?",
      "media_url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/1957501491612381485/media_0.jpg?",
      "type": "photo",
      "filename": "media_0.jpg"
    }
  ],
  "processed_at": "2025-08-19T07:14:54.830362",
  "pipeline_version": "2.0"
}

🔧 Raw API Response

{
  "type": "tweet",
  "id": "1957501491612381485",
  "url": "https://x.com/patloeber/status/1957501491612381485",
  "twitterUrl": "https://twitter.com/patloeber/status/1957501491612381485",
  "text": "The URL context tool is now generally available in the Gemini API and comes packed with new features!\n\nThe tool lets you provide additional context to the models in the form of URLs and now also has image and PDF endpoint support!\n\nMakes adding context for Gemini much easier :) https://t.co/pIJUoj4TcC",
  "source": "Twitter for iPhone",
  "retweetCount": 18,
  "replyCount": 12,
  "likeCount": 160,
  "quoteCount": 2,
  "viewCount": 12051,
  "createdAt": "Mon Aug 18 17:54:58 +0000 2025",
  "lang": "en",
  "bookmarkCount": 57,
  "isReply": false,
  "inReplyToId": null,
  "conversationId": "1957501491612381485",
  "displayTextRange": [
    0,
    278
  ],
  "inReplyToUserId": null,
  "inReplyToUsername": null,
  "author": {
    "type": "user",
    "userName": "patloeber",
    "url": "https://x.com/patloeber",
    "twitterUrl": "https://twitter.com/patloeber",
    "id": "1124273786893864960",
    "name": "Patrick Loeber",
    "isVerified": false,
    "isBlueVerified": true,
    "verifiedType": null,
    "profilePicture": "https://pbs.twimg.com/profile_images/1379862017566240772/JfIJbL7D_normal.png",
    "coverPicture": "https://pbs.twimg.com/profile_banners/1124273786893864960/1738675978",
    "description": "",
    "location": "Berlin, Deutschland",
    "followers": 64198,
    "following": 1084,
    "status": "",
    "canDm": true,
    "canMediaTag": true,
    "createdAt": "Fri May 03 11:25:33 +0000 2019",
    "entities": {
      "description": {
        "urls": []
      },
      "url": {}
    },
    "fastFollowersCount": 0,
    "favouritesCount": 25989,
    "hasCustomTimelines": true,
    "isTranslator": false,
    "mediaCount": 1289,
    "statusesCount": 8847,
    "withheldInCountries": [],
    "affiliatesHighlightedLabel": {},
    "possiblySensitive": false,
    "pinnedTweetIds": [
      "1366037417166274560"
    ],
    "profile_bio": {
      "description": "Dev Rel @GoogleDeepMind • I code, build, and teach • YouTube 250K+ • My views",
      "entities": {
        "description": {
          "user_mentions": [
            {
              "id_str": "0",
              "indices": [
                8,
                23
              ],
              "name": "",
              "screen_name": "GoogleDeepMind"
            }
          ]
        },
        "url": {
          "urls": [
            {
              "display_url": "patloeber.com",
              "expanded_url": "http://patloeber.com",
              "indices": [
                0,
                23
              ],
              "url": "https://t.co/qWcxtpiy0T"
            }
          ]
        }
      }
    },
    "isAutomated": false,
    "automatedBy": null
  },
  "extendedEntities": {
    "media": [
      {
        "allow_download_status": {
          "allow_download": true
        },
        "display_url": "pic.twitter.com/pIJUoj4TcC",
        "expanded_url": "https://twitter.com/patloeber/status/1957501491612381485/photo/1",
        "ext_media_availability": {
          "status": "Available"
        },
        "features": {
          "large": {
            "faces": [
              {
                "h": 117,
                "w": 117,
                "x": 233,
                "y": 813
              },
              {
                "h": 189,
                "w": 189,
                "x": 1463,
                "y": 831
              }
            ]
          },
          "orig": {
            "faces": [
              {
                "h": 140,
                "w": 140,
                "x": 278,
                "y": 969
              },
              {
                "h": 226,
                "w": 226,
                "x": 1744,
                "y": 991
              }
            ]
          }
        },
        "id_str": "1957498401886498816",
        "indices": [
          279,
          302
        ],
        "media_key": "3_1957498401886498816",
        "media_results": {
          "id": "QXBpTWVkaWFSZXN1bHRzOgwAAQoAARsqbmzc1vAACgACGypxPD7acS0AAA==",
          "result": {
            "__typename": "ApiMedia",
            "id": "QXBpTWVkaWE6DAABCgABGypubNzW8AAKAAIbKnE8PtpxLQAA",
            "media_key": "3_1957498401886498816"
          }
        },
        "media_url_https": "https://pbs.twimg.com/media/GypubNzW8AAOeaL.jpg",
        "original_info": {
          "focus_rects": [
            {
              "h": 1270,
              "w": 2268,
              "x": 0,
              "y": 0
            },
            {
              "h": 1270,
              "w": 1270,
              "x": 0,
              "y": 0
            },
            {
              "h": 1270,
              "w": 1114,
              "x": 0,
              "y": 0
            },
            {
              "h": 1270,
              "w": 635,
              "x": 108,
              "y": 0
            },
            {
              "h": 1270,
              "w": 2440,
              "x": 0,
              "y": 0
            }
          ],
          "height": 1270,
          "width": 2440
        },
        "sizes": {
          "large": {
            "h": 1066,
            "w": 2048
          }
        },
        "type": "photo",
        "url": "https://t.co/pIJUoj4TcC"
      }
    ]
  },
  "card": null,
  "place": {},
  "entities": {},
  "quoted_tweet": null,
  "retweeted_tweet": null,
  "article": null
}