mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-24 00:23:55 +00:00
45 lines
No EOL
4.4 KiB
JSON
45 lines
No EOL
4.4 KiB
JSON
[{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https:\/\/api.twitter.com\/1.1\/favorites\/create.json",
|
|
"headers": {
|
|
"Host": "api.twitter.com",
|
|
"Accept": "application\/json",
|
|
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"awJfND4zFGapGOFKfdjg\", oauth_token=\"93915746-KjE3c27dCt8awONxuUAaJ00yishXXwcH5CdLBnO1x\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"EA30eIQPgat0Aw%2F59GyltEiE4Xg%3D\"",
|
|
"Expect": null
|
|
},
|
|
"body": "id=6242973112"
|
|
},
|
|
"response": {
|
|
"status": {
|
|
"http_version": "2",
|
|
"code": "200",
|
|
"message": ""
|
|
},
|
|
"headers": {
|
|
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
|
"content-disposition": "attachment; filename=json.json",
|
|
"content-encoding": "gzip",
|
|
"content-length": "755",
|
|
"content-type": "application\/json;charset=utf-8",
|
|
"date": "Sun, 26 Apr 2020 00:31:51 GMT",
|
|
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
|
"last-modified": "Sun, 26 Apr 2020 00:31:51 GMT",
|
|
"pragma": "no-cache",
|
|
"server": "tsa_b",
|
|
"set-cookie": "personalization_id=\"v1_Jz87HIDSEIpDevFMBlDD7g==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:51 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, lang=en; Path=\/, guest_id=v1%3A158786111115490266; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:51 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
|
"status": "200 OK",
|
|
"strict-transport-security": "max-age=631138519",
|
|
"x-access-level": "read-write-directmessages",
|
|
"x-connection-hash": "7368af4d238e5c36df5379afb1bed3af",
|
|
"x-content-type-options": "nosniff",
|
|
"x-frame-options": "SAMEORIGIN",
|
|
"x-response-time": "72",
|
|
"x-transaction": "0012beac0086638b",
|
|
"x-tsa-request-body-time": "0",
|
|
"x-twitter-response-tags": "BouncerCompliant",
|
|
"x-xss-protection": "0"
|
|
},
|
|
"body": "{\"created_at\":\"Tue Dec 01 18:38:07 +0000 2009\",\"id\":6242973112,\"id_str\":\"6242973112\",\"text\":\"Test!\",\"truncated\":false,\"entities\":{\"hashtags\":[],\"symbols\":[],\"user_mentions\":[],\"urls\":[]},\"source\":\"\\u003ca href=\\\"http:\\\/\\\/twitter.com\\\" rel=\\\"nofollow\\\"\\u003eTwitter Web Client\\u003c\\\/a\\u003e\",\"in_reply_to_status_id\":null,\"in_reply_to_status_id_str\":null,\"in_reply_to_user_id\":null,\"in_reply_to_user_id_str\":null,\"in_reply_to_screen_name\":null,\"user\":{\"id\":93915746,\"id_str\":\"93915746\",\"name\":\"OAuth Library Test\",\"screen_name\":\"oauthlibtest\",\"location\":\"\",\"description\":\"\",\"url\":null,\"entities\":{\"description\":{\"urls\":[]}},\"protected\":false,\"followers_count\":58,\"friends_count\":2,\"listed_count\":6,\"created_at\":\"Tue Dec 01 18:37:44 +0000 2009\",\"favourites_count\":1,\"utc_offset\":null,\"time_zone\":null,\"geo_enabled\":true,\"verified\":false,\"statuses_count\":5,\"lang\":null,\"contributors_enabled\":false,\"is_translator\":false,\"is_translation_enabled\":false,\"profile_background_color\":\"C0DEED\",\"profile_background_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_tile\":false,\"profile_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_link_color\":\"1DA1F2\",\"profile_sidebar_border_color\":\"C0DEED\",\"profile_sidebar_fill_color\":\"DDEEF6\",\"profile_text_color\":\"333333\",\"profile_use_background_image\":true,\"has_extended_profile\":false,\"default_profile\":true,\"default_profile_image\":true,\"following\":false,\"follow_request_sent\":false,\"notifications\":false,\"translator_type\":\"none\"},\"geo\":null,\"coordinates\":null,\"place\":null,\"contributors\":null,\"is_quote_status\":false,\"retweet_count\":2258,\"favorite_count\":76,\"favorited\":true,\"retweeted\":false,\"lang\":\"en\"}"
|
|
}
|
|
}] |