Continuation User's Media
curl --request POST \
--url https://api.agntdata.dev/v1/data/x/user/medias/continuation \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"user_id": 96479162,
"continuation_token": "DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA",
"limit": 10
}
'import requests
url = "https://api.agntdata.dev/v1/data/x/user/medias/continuation"
payload = {
"user_id": 96479162,
"continuation_token": "DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA",
"limit": 10
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
user_id: 96479162,
continuation_token: 'DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA',
limit: 10
})
};
fetch('https://api.agntdata.dev/v1/data/x/user/medias/continuation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.agntdata.dev/v1/data/x/user/medias/continuation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'user_id' => 96479162,
'continuation_token' => 'DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA',
'limit' => 10
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.agntdata.dev/v1/data/x/user/medias/continuation"
payload := strings.NewReader("{\n \"user_id\": 96479162,\n \"continuation_token\": \"DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA\",\n \"limit\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.agntdata.dev/v1/data/x/user/medias/continuation")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"user_id\": 96479162,\n \"continuation_token\": \"DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA\",\n \"limit\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agntdata.dev/v1/data/x/user/medias/continuation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"user_id\": 96479162,\n \"continuation_token\": \"DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA\",\n \"limit\": 10\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"tweet_id": "1517995317697916928",
"creation_date": "Sat Apr 23 22:34:21 +0000 2022",
"text": "Sometimes you know an exception can be thrown, and you just want to ignore it. Take advantage of the context manager, which allows you to allocate and release resources.\n\nUse “ignore instead”. Here's a full code example:\n\nCredits to: @raymondh https://t.co/ACw677xTtN",
"media_url": [
"https://pbs.twimg.com/media/FREAsbkXIAYiaVV.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "en",
"favorite_count": 16,
"retweet_count": 1,
"reply_count": 2,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1650753261,
"video_view_count": null,
"in_reply_to_status_id": null,
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1517995317697916928/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/ACw677xTtN",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1517995317697916928/photo/1",
"id_str": "1517995312715079686",
"indices": [
244,
267
],
"media_key": "3_1517995312715079686",
"media_url_https": "https://pbs.twimg.com/media/FREAsbkXIAYiaVV.jpg",
"type": "photo",
"url": "https://t.co/ACw677xTtN",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"small": {
"faces": []
},
"orig": {
"faces": []
}
},
"sizes": {
"large": {
"h": 861,
"w": 2048,
"resize": "fit"
},
"medium": {
"h": 504,
"w": 1200,
"resize": "fit"
},
"small": {
"h": 286,
"w": 680,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 1291,
"width": 3072,
"focus_rects": [
{
"x": 767,
"y": 0,
"w": 2305,
"h": 1291
},
{
"x": 1582,
"y": 0,
"w": 1291,
"h": 1291
},
{
"x": 1661,
"y": 0,
"w": 1132,
"h": 1291
},
{
"x": 1904,
"y": 0,
"w": 646,
"h": 1291
},
{
"x": 0,
"y": 0,
"w": 3072,
"h": 1291
}
]
}
}
]
},
"conversation_id": "1517995317697916928",
"retweet_status": null
},
{
"tweet_id": "1513801473074896899",
"creation_date": "Tue Apr 12 08:49:30 +0000 2022",
"text": "@robertmclaws It works for me https://t.co/jPKG3dq1nW",
"media_url": [
"https://pbs.twimg.com/media/FQIaaadXMAQU4E8.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "en",
"favorite_count": 0,
"retweet_count": 0,
"reply_count": 0,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1649753370,
"video_view_count": null,
"in_reply_to_status_id": "1513791628154187778",
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1513801473074896899/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/jPKG3dq1nW",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1513801473074896899/photo/1",
"id_str": "1513801465831305220",
"indices": [
30,
53
],
"media_key": "3_1513801465831305220",
"media_url_https": "https://pbs.twimg.com/media/FQIaaadXMAQU4E8.jpg",
"type": "photo",
"url": "https://t.co/jPKG3dq1nW",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": [
{
"x": 81,
"y": 349,
"h": 82,
"w": 82
}
]
},
"medium": {
"faces": [
{
"x": 65,
"y": 281,
"h": 66,
"w": 66
}
]
},
"small": {
"faces": [
{
"x": 37,
"y": 159,
"h": 37,
"w": 37
}
]
},
"orig": {
"faces": [
{
"x": 81,
"y": 349,
"h": 82,
"w": 82
}
]
}
},
"sizes": {
"large": {
"h": 1487,
"w": 1170,
"resize": "fit"
},
"medium": {
"h": 1200,
"w": 944,
"resize": "fit"
},
"small": {
"h": 680,
"w": 535,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 1487,
"width": 1170,
"focus_rects": [
{
"x": 0,
"y": 304,
"w": 1170,
"h": 655
},
{
"x": 0,
"y": 46,
"w": 1170,
"h": 1170
},
{
"x": 0,
"y": 0,
"w": 1170,
"h": 1334
},
{
"x": 333,
"y": 0,
"w": 744,
"h": 1487
},
{
"x": 0,
"y": 0,
"w": 1170,
"h": 1487
}
]
}
}
]
},
"conversation_id": "1513791628154187778",
"retweet_status": null
},
{
"tweet_id": "1513260712587669517",
"creation_date": "Sun Apr 10 21:00:43 +0000 2022",
"text": "@stephenrobles https://t.co/DWBJCZ4pkB",
"media_url": [
"https://pbs.twimg.com/media/FQAulhzX0A8OtrC.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "qme",
"favorite_count": 0,
"retweet_count": 0,
"reply_count": 0,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1649624443,
"video_view_count": null,
"in_reply_to_status_id": "1513146993287307266",
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1513260712587669517/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/DWBJCZ4pkB",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1513260712587669517/photo/1",
"id_str": "1513260697060364303",
"indices": [
15,
38
],
"media_key": "3_1513260697060364303",
"media_url_https": "https://pbs.twimg.com/media/FQAulhzX0A8OtrC.jpg",
"type": "photo",
"url": "https://t.co/DWBJCZ4pkB",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"small": {
"faces": []
},
"orig": {
"faces": []
}
},
"sizes": {
"large": {
"h": 2048,
"w": 946,
"resize": "fit"
},
"medium": {
"h": 1200,
"w": 554,
"resize": "fit"
},
"small": {
"h": 680,
"w": 314,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 2048,
"width": 946,
"focus_rects": [
{
"x": 0,
"y": 92,
"w": 946,
"h": 530
},
{
"x": 0,
"y": 0,
"w": 946,
"h": 946
},
{
"x": 0,
"y": 0,
"w": 946,
"h": 1078
},
{
"x": 0,
"y": 0,
"w": 946,
"h": 1892
},
{
"x": 0,
"y": 0,
"w": 946,
"h": 2048
}
]
}
}
]
},
"conversation_id": "1513146993287307266",
"retweet_status": null
},
{
"tweet_id": "1497526869406670848",
"creation_date": "Sat Feb 26 11:00:03 +0000 2022",
"text": "Strings are hard https://t.co/fI2lNyC0ML",
"media_url": [
"https://pbs.twimg.com/media/FMhIvohWYAMjGv3.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "en",
"favorite_count": 0,
"retweet_count": 0,
"reply_count": 0,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1645873203,
"video_view_count": null,
"in_reply_to_status_id": null,
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1497526869406670848/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/fI2lNyC0ML",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1497526869406670848/photo/1",
"id_str": "1497526859269038083",
"indices": [
17,
40
],
"media_key": "3_1497526859269038083",
"media_url_https": "https://pbs.twimg.com/media/FMhIvohWYAMjGv3.jpg",
"type": "photo",
"url": "https://t.co/fI2lNyC0ML",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"small": {
"faces": []
},
"orig": {
"faces": []
}
},
"sizes": {
"large": {
"h": 831,
"w": 1170,
"resize": "fit"
},
"medium": {
"h": 831,
"w": 1170,
"resize": "fit"
},
"small": {
"h": 483,
"w": 680,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 831,
"width": 1170,
"focus_rects": [
{
"x": 0,
"y": 176,
"w": 1170,
"h": 655
},
{
"x": 0,
"y": 0,
"w": 831,
"h": 831
},
{
"x": 0,
"y": 0,
"w": 729,
"h": 831
},
{
"x": 113,
"y": 0,
"w": 416,
"h": 831
},
{
"x": 0,
"y": 0,
"w": 1170,
"h": 831
}
]
}
}
]
},
"conversation_id": "1497526869406670848",
"retweet_status": null
},
{
"tweet_id": "1490431825918967810",
"creation_date": "Sun Feb 06 21:06:52 +0000 2022",
"text": "@hunterwalk This is Dob, he is 4 years old, he farts and sleep all day, but I love him, and I think he loves me too 😄 https://t.co/oY5UwU6BcJ",
"media_url": [
"https://pbs.twimg.com/media/FK8T1ogX0AcWyo0.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "en",
"favorite_count": 2,
"retweet_count": 0,
"reply_count": 0,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1644181612,
"video_view_count": null,
"in_reply_to_status_id": "1490349284222328832",
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1490431825918967810/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/oY5UwU6BcJ",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1490431825918967810/photo/1",
"id_str": "1490431813810114567",
"indices": [
118,
141
],
"media_key": "3_1490431813810114567",
"media_url_https": "https://pbs.twimg.com/media/FK8T1ogX0AcWyo0.jpg",
"type": "photo",
"url": "https://t.co/oY5UwU6BcJ",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"small": {
"faces": []
},
"orig": {
"faces": []
}
},
"sizes": {
"large": {
"h": 2048,
"w": 1539,
"resize": "fit"
},
"medium": {
"h": 1200,
"w": 902,
"resize": "fit"
},
"small": {
"h": 680,
"w": 511,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 3088,
"width": 2320,
"focus_rects": [
{
"x": 0,
"y": 817,
"w": 2320,
"h": 1299
},
{
"x": 0,
"y": 306,
"w": 2320,
"h": 2320
},
{
"x": 0,
"y": 144,
"w": 2320,
"h": 2645
},
{
"x": 540,
"y": 0,
"w": 1544,
"h": 3088
},
{
"x": 0,
"y": 0,
"w": 2320,
"h": 3088
}
]
}
}
]
},
"conversation_id": "1490349284222328832",
"retweet_status": null
},
{
"tweet_id": "1401511472413487106",
"creation_date": "Sun Jun 06 12:09:08 +0000 2021",
"text": "How’s you Sunday going? as for me just having fun with @fritz https://t.co/21aTR87z46",
"media_url": [
"https://pbs.twimg.com/media/E3MrPovWYAI64-i.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "en",
"favorite_count": 4,
"retweet_count": 0,
"reply_count": 1,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1622981348,
"video_view_count": null,
"in_reply_to_status_id": null,
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1401511472413487106/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/21aTR87z46",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1401511472413487106/photo/1",
"id_str": "1401511456676405250",
"indices": [
62,
85
],
"media_key": "3_1401511456676405250",
"media_url_https": "https://pbs.twimg.com/media/E3MrPovWYAI64-i.jpg",
"type": "photo",
"url": "https://t.co/21aTR87z46",
"ext_media_availability": {
"status": "Available"
},
"features": {
"all": {
"tags": [
{
"user_id": "929081759312031744",
"name": "Fritz AI",
"screen_name": "fritzlabs",
"type": "user"
}
]
},
"large": {
"faces": [
{
"x": 914,
"y": 182,
"h": 466,
"w": 466
}
]
},
"medium": {
"faces": [
{
"x": 539,
"y": 107,
"h": 275,
"w": 275
}
]
},
"small": {
"faces": [
{
"x": 305,
"y": 60,
"h": 155,
"w": 155
}
]
},
"orig": {
"faces": [
{
"x": 914,
"y": 182,
"h": 466,
"w": 466
}
]
}
},
"sizes": {
"large": {
"h": 1144,
"w": 2032,
"resize": "fit"
},
"medium": {
"h": 676,
"w": 1200,
"resize": "fit"
},
"small": {
"h": 383,
"w": 680,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 1144,
"width": 2032,
"focus_rects": [
{
"x": 0,
"y": 0,
"w": 2032,
"h": 1138
},
{
"x": 596,
"y": 0,
"w": 1144,
"h": 1144
},
{
"x": 666,
"y": 0,
"w": 1004,
"h": 1144
},
{
"x": 882,
"y": 0,
"w": 572,
"h": 1144
},
{
"x": 0,
"y": 0,
"w": 2032,
"h": 1144
}
]
}
}
]
},
"conversation_id": "1401511472413487106",
"retweet_status": null
},
{
"tweet_id": "1339647664338702336",
"creation_date": "Thu Dec 17 19:04:27 +0000 2020",
"text": "@austin_kodra You are 5 minutes away from publishing this lens https://t.co/AmgTclhxtR",
"media_url": [
"https://pbs.twimg.com/tweet_video_thumb/EpdichpWMAIPcr0.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "en",
"favorite_count": 0,
"retweet_count": 0,
"reply_count": 1,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1608231867,
"video_view_count": null,
"in_reply_to_status_id": "1339607906006740994",
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1339647664338702336/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/AmgTclhxtR",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1339647664338702336/photo/1",
"ext_alt_text": "Batman Thinking GIF",
"id_str": "1339647656373661698",
"indices": [
63,
86
],
"media_key": "16_1339647656373661698",
"media_url_https": "https://pbs.twimg.com/tweet_video_thumb/EpdichpWMAIPcr0.jpg",
"type": "animated_gif",
"url": "https://t.co/AmgTclhxtR",
"ext_media_availability": {
"status": "Available"
},
"features": {},
"sizes": {
"large": {
"h": 342,
"w": 498,
"resize": "fit"
},
"medium": {
"h": 342,
"w": 498,
"resize": "fit"
},
"small": {
"h": 342,
"w": 498,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 342,
"width": 498
},
"video_info": {
"aspect_ratio": [
83,
57
],
"variants": [
{
"bitrate": 0,
"content_type": "video/mp4",
"url": "https://video.twimg.com/tweet_video/EpdichpWMAIPcr0.mp4"
}
]
}
}
]
},
"conversation_id": "1339607906006740994",
"retweet_status": null
}
],
"continuation_token": "DAABCgABFu-OJkw__-8KAAISl2Jz9RcQAAgAAwAAAAIAAA"
}{
"detail": [
{
"loc": [],
"msg": "",
"type": ""
}
]
}User
Continuation User's Media
This endpoint returns the list of a user’s medias
POST
/
v1
/
data
/
x
/
user
/
medias
/
continuation
Continuation User's Media
curl --request POST \
--url https://api.agntdata.dev/v1/data/x/user/medias/continuation \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"user_id": 96479162,
"continuation_token": "DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA",
"limit": 10
}
'import requests
url = "https://api.agntdata.dev/v1/data/x/user/medias/continuation"
payload = {
"user_id": 96479162,
"continuation_token": "DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA",
"limit": 10
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
user_id: 96479162,
continuation_token: 'DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA',
limit: 10
})
};
fetch('https://api.agntdata.dev/v1/data/x/user/medias/continuation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.agntdata.dev/v1/data/x/user/medias/continuation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'user_id' => 96479162,
'continuation_token' => 'DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA',
'limit' => 10
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.agntdata.dev/v1/data/x/user/medias/continuation"
payload := strings.NewReader("{\n \"user_id\": 96479162,\n \"continuation_token\": \"DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA\",\n \"limit\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.agntdata.dev/v1/data/x/user/medias/continuation")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"user_id\": 96479162,\n \"continuation_token\": \"DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA\",\n \"limit\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agntdata.dev/v1/data/x/user/medias/continuation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"user_id\": 96479162,\n \"continuation_token\": \"DAABCgABFu-OJkw___gKAAIVmAq8iZYgAggAAwAAAAIAAA\",\n \"limit\": 10\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"tweet_id": "1517995317697916928",
"creation_date": "Sat Apr 23 22:34:21 +0000 2022",
"text": "Sometimes you know an exception can be thrown, and you just want to ignore it. Take advantage of the context manager, which allows you to allocate and release resources.\n\nUse “ignore instead”. Here's a full code example:\n\nCredits to: @raymondh https://t.co/ACw677xTtN",
"media_url": [
"https://pbs.twimg.com/media/FREAsbkXIAYiaVV.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "en",
"favorite_count": 16,
"retweet_count": 1,
"reply_count": 2,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1650753261,
"video_view_count": null,
"in_reply_to_status_id": null,
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1517995317697916928/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/ACw677xTtN",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1517995317697916928/photo/1",
"id_str": "1517995312715079686",
"indices": [
244,
267
],
"media_key": "3_1517995312715079686",
"media_url_https": "https://pbs.twimg.com/media/FREAsbkXIAYiaVV.jpg",
"type": "photo",
"url": "https://t.co/ACw677xTtN",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"small": {
"faces": []
},
"orig": {
"faces": []
}
},
"sizes": {
"large": {
"h": 861,
"w": 2048,
"resize": "fit"
},
"medium": {
"h": 504,
"w": 1200,
"resize": "fit"
},
"small": {
"h": 286,
"w": 680,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 1291,
"width": 3072,
"focus_rects": [
{
"x": 767,
"y": 0,
"w": 2305,
"h": 1291
},
{
"x": 1582,
"y": 0,
"w": 1291,
"h": 1291
},
{
"x": 1661,
"y": 0,
"w": 1132,
"h": 1291
},
{
"x": 1904,
"y": 0,
"w": 646,
"h": 1291
},
{
"x": 0,
"y": 0,
"w": 3072,
"h": 1291
}
]
}
}
]
},
"conversation_id": "1517995317697916928",
"retweet_status": null
},
{
"tweet_id": "1513801473074896899",
"creation_date": "Tue Apr 12 08:49:30 +0000 2022",
"text": "@robertmclaws It works for me https://t.co/jPKG3dq1nW",
"media_url": [
"https://pbs.twimg.com/media/FQIaaadXMAQU4E8.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "en",
"favorite_count": 0,
"retweet_count": 0,
"reply_count": 0,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1649753370,
"video_view_count": null,
"in_reply_to_status_id": "1513791628154187778",
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1513801473074896899/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/jPKG3dq1nW",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1513801473074896899/photo/1",
"id_str": "1513801465831305220",
"indices": [
30,
53
],
"media_key": "3_1513801465831305220",
"media_url_https": "https://pbs.twimg.com/media/FQIaaadXMAQU4E8.jpg",
"type": "photo",
"url": "https://t.co/jPKG3dq1nW",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": [
{
"x": 81,
"y": 349,
"h": 82,
"w": 82
}
]
},
"medium": {
"faces": [
{
"x": 65,
"y": 281,
"h": 66,
"w": 66
}
]
},
"small": {
"faces": [
{
"x": 37,
"y": 159,
"h": 37,
"w": 37
}
]
},
"orig": {
"faces": [
{
"x": 81,
"y": 349,
"h": 82,
"w": 82
}
]
}
},
"sizes": {
"large": {
"h": 1487,
"w": 1170,
"resize": "fit"
},
"medium": {
"h": 1200,
"w": 944,
"resize": "fit"
},
"small": {
"h": 680,
"w": 535,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 1487,
"width": 1170,
"focus_rects": [
{
"x": 0,
"y": 304,
"w": 1170,
"h": 655
},
{
"x": 0,
"y": 46,
"w": 1170,
"h": 1170
},
{
"x": 0,
"y": 0,
"w": 1170,
"h": 1334
},
{
"x": 333,
"y": 0,
"w": 744,
"h": 1487
},
{
"x": 0,
"y": 0,
"w": 1170,
"h": 1487
}
]
}
}
]
},
"conversation_id": "1513791628154187778",
"retweet_status": null
},
{
"tweet_id": "1513260712587669517",
"creation_date": "Sun Apr 10 21:00:43 +0000 2022",
"text": "@stephenrobles https://t.co/DWBJCZ4pkB",
"media_url": [
"https://pbs.twimg.com/media/FQAulhzX0A8OtrC.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "qme",
"favorite_count": 0,
"retweet_count": 0,
"reply_count": 0,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1649624443,
"video_view_count": null,
"in_reply_to_status_id": "1513146993287307266",
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1513260712587669517/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/DWBJCZ4pkB",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1513260712587669517/photo/1",
"id_str": "1513260697060364303",
"indices": [
15,
38
],
"media_key": "3_1513260697060364303",
"media_url_https": "https://pbs.twimg.com/media/FQAulhzX0A8OtrC.jpg",
"type": "photo",
"url": "https://t.co/DWBJCZ4pkB",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"small": {
"faces": []
},
"orig": {
"faces": []
}
},
"sizes": {
"large": {
"h": 2048,
"w": 946,
"resize": "fit"
},
"medium": {
"h": 1200,
"w": 554,
"resize": "fit"
},
"small": {
"h": 680,
"w": 314,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 2048,
"width": 946,
"focus_rects": [
{
"x": 0,
"y": 92,
"w": 946,
"h": 530
},
{
"x": 0,
"y": 0,
"w": 946,
"h": 946
},
{
"x": 0,
"y": 0,
"w": 946,
"h": 1078
},
{
"x": 0,
"y": 0,
"w": 946,
"h": 1892
},
{
"x": 0,
"y": 0,
"w": 946,
"h": 2048
}
]
}
}
]
},
"conversation_id": "1513146993287307266",
"retweet_status": null
},
{
"tweet_id": "1497526869406670848",
"creation_date": "Sat Feb 26 11:00:03 +0000 2022",
"text": "Strings are hard https://t.co/fI2lNyC0ML",
"media_url": [
"https://pbs.twimg.com/media/FMhIvohWYAMjGv3.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "en",
"favorite_count": 0,
"retweet_count": 0,
"reply_count": 0,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1645873203,
"video_view_count": null,
"in_reply_to_status_id": null,
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1497526869406670848/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/fI2lNyC0ML",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1497526869406670848/photo/1",
"id_str": "1497526859269038083",
"indices": [
17,
40
],
"media_key": "3_1497526859269038083",
"media_url_https": "https://pbs.twimg.com/media/FMhIvohWYAMjGv3.jpg",
"type": "photo",
"url": "https://t.co/fI2lNyC0ML",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"small": {
"faces": []
},
"orig": {
"faces": []
}
},
"sizes": {
"large": {
"h": 831,
"w": 1170,
"resize": "fit"
},
"medium": {
"h": 831,
"w": 1170,
"resize": "fit"
},
"small": {
"h": 483,
"w": 680,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 831,
"width": 1170,
"focus_rects": [
{
"x": 0,
"y": 176,
"w": 1170,
"h": 655
},
{
"x": 0,
"y": 0,
"w": 831,
"h": 831
},
{
"x": 0,
"y": 0,
"w": 729,
"h": 831
},
{
"x": 113,
"y": 0,
"w": 416,
"h": 831
},
{
"x": 0,
"y": 0,
"w": 1170,
"h": 831
}
]
}
}
]
},
"conversation_id": "1497526869406670848",
"retweet_status": null
},
{
"tweet_id": "1490431825918967810",
"creation_date": "Sun Feb 06 21:06:52 +0000 2022",
"text": "@hunterwalk This is Dob, he is 4 years old, he farts and sleep all day, but I love him, and I think he loves me too 😄 https://t.co/oY5UwU6BcJ",
"media_url": [
"https://pbs.twimg.com/media/FK8T1ogX0AcWyo0.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "en",
"favorite_count": 2,
"retweet_count": 0,
"reply_count": 0,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1644181612,
"video_view_count": null,
"in_reply_to_status_id": "1490349284222328832",
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1490431825918967810/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/oY5UwU6BcJ",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1490431825918967810/photo/1",
"id_str": "1490431813810114567",
"indices": [
118,
141
],
"media_key": "3_1490431813810114567",
"media_url_https": "https://pbs.twimg.com/media/FK8T1ogX0AcWyo0.jpg",
"type": "photo",
"url": "https://t.co/oY5UwU6BcJ",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"small": {
"faces": []
},
"orig": {
"faces": []
}
},
"sizes": {
"large": {
"h": 2048,
"w": 1539,
"resize": "fit"
},
"medium": {
"h": 1200,
"w": 902,
"resize": "fit"
},
"small": {
"h": 680,
"w": 511,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 3088,
"width": 2320,
"focus_rects": [
{
"x": 0,
"y": 817,
"w": 2320,
"h": 1299
},
{
"x": 0,
"y": 306,
"w": 2320,
"h": 2320
},
{
"x": 0,
"y": 144,
"w": 2320,
"h": 2645
},
{
"x": 540,
"y": 0,
"w": 1544,
"h": 3088
},
{
"x": 0,
"y": 0,
"w": 2320,
"h": 3088
}
]
}
}
]
},
"conversation_id": "1490349284222328832",
"retweet_status": null
},
{
"tweet_id": "1401511472413487106",
"creation_date": "Sun Jun 06 12:09:08 +0000 2021",
"text": "How’s you Sunday going? as for me just having fun with @fritz https://t.co/21aTR87z46",
"media_url": [
"https://pbs.twimg.com/media/E3MrPovWYAI64-i.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "en",
"favorite_count": 4,
"retweet_count": 0,
"reply_count": 1,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1622981348,
"video_view_count": null,
"in_reply_to_status_id": null,
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1401511472413487106/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/21aTR87z46",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1401511472413487106/photo/1",
"id_str": "1401511456676405250",
"indices": [
62,
85
],
"media_key": "3_1401511456676405250",
"media_url_https": "https://pbs.twimg.com/media/E3MrPovWYAI64-i.jpg",
"type": "photo",
"url": "https://t.co/21aTR87z46",
"ext_media_availability": {
"status": "Available"
},
"features": {
"all": {
"tags": [
{
"user_id": "929081759312031744",
"name": "Fritz AI",
"screen_name": "fritzlabs",
"type": "user"
}
]
},
"large": {
"faces": [
{
"x": 914,
"y": 182,
"h": 466,
"w": 466
}
]
},
"medium": {
"faces": [
{
"x": 539,
"y": 107,
"h": 275,
"w": 275
}
]
},
"small": {
"faces": [
{
"x": 305,
"y": 60,
"h": 155,
"w": 155
}
]
},
"orig": {
"faces": [
{
"x": 914,
"y": 182,
"h": 466,
"w": 466
}
]
}
},
"sizes": {
"large": {
"h": 1144,
"w": 2032,
"resize": "fit"
},
"medium": {
"h": 676,
"w": 1200,
"resize": "fit"
},
"small": {
"h": 383,
"w": 680,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 1144,
"width": 2032,
"focus_rects": [
{
"x": 0,
"y": 0,
"w": 2032,
"h": 1138
},
{
"x": 596,
"y": 0,
"w": 1144,
"h": 1144
},
{
"x": 666,
"y": 0,
"w": 1004,
"h": 1144
},
{
"x": 882,
"y": 0,
"w": 572,
"h": 1144
},
{
"x": 0,
"y": 0,
"w": 2032,
"h": 1144
}
]
}
}
]
},
"conversation_id": "1401511472413487106",
"retweet_status": null
},
{
"tweet_id": "1339647664338702336",
"creation_date": "Thu Dec 17 19:04:27 +0000 2020",
"text": "@austin_kodra You are 5 minutes away from publishing this lens https://t.co/AmgTclhxtR",
"media_url": [
"https://pbs.twimg.com/tweet_video_thumb/EpdichpWMAIPcr0.jpg"
],
"video_url": null,
"user": {
"creation_date": "Sun Dec 13 03:52:21 +0000 2009",
"user_id": "96479162",
"username": "omarmhaimdat",
"name": "Omar MHAIMDAT",
"follower_count": 955,
"following_count": 1211,
"favourites_count": 6268,
"is_private": null,
"is_verified": false,
"is_blue_verified": true,
"location": "Casablanca, Morocco",
"profile_pic_url": "https://pbs.twimg.com/profile_images/1271521722945110016/AvKfKpLo_normal.jpg",
"profile_banner_url": null,
"description": "Data Scientist | Software Engineer | Better programming and Heartbeat contributor",
"external_url": "https://www.linkedin.com/in/omarmhaimdat/",
"number_of_tweets": 3167,
"bot": false,
"timestamp": 1260676341,
"has_nft_avatar": false,
"category": null,
"default_profile": null,
"default_profile_image": null
},
"language": "en",
"favorite_count": 0,
"retweet_count": 0,
"reply_count": 1,
"quote_count": 0,
"retweet": false,
"views": null,
"timestamp": 1608231867,
"video_view_count": null,
"in_reply_to_status_id": "1339607906006740994",
"quoted_status_id": null,
"binding_values": null,
"expanded_url": "https://twitter.com/omarmhaimdat/status/1339647664338702336/photo/1",
"retweet_tweet_id": null,
"extended_entities": {
"media": [
{
"display_url": "pic.twitter.com/AmgTclhxtR",
"expanded_url": "https://twitter.com/omarmhaimdat/status/1339647664338702336/photo/1",
"ext_alt_text": "Batman Thinking GIF",
"id_str": "1339647656373661698",
"indices": [
63,
86
],
"media_key": "16_1339647656373661698",
"media_url_https": "https://pbs.twimg.com/tweet_video_thumb/EpdichpWMAIPcr0.jpg",
"type": "animated_gif",
"url": "https://t.co/AmgTclhxtR",
"ext_media_availability": {
"status": "Available"
},
"features": {},
"sizes": {
"large": {
"h": 342,
"w": 498,
"resize": "fit"
},
"medium": {
"h": 342,
"w": 498,
"resize": "fit"
},
"small": {
"h": 342,
"w": 498,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 342,
"width": 498
},
"video_info": {
"aspect_ratio": [
83,
57
],
"variants": [
{
"bitrate": 0,
"content_type": "video/mp4",
"url": "https://video.twimg.com/tweet_video/EpdichpWMAIPcr0.mp4"
}
]
}
}
]
},
"conversation_id": "1339607906006740994",
"retweet_status": null
}
],
"continuation_token": "DAABCgABFu-OJkw__-8KAAISl2Jz9RcQAAgAAwAAAAIAAA"
}{
"detail": [
{
"loc": [],
"msg": "",
"type": ""
}
]
}⌘I