1
0
mirror of https://github.com/Decicus/DecAPI-Docs.git synced 2024-11-25 22:02:32 +01:00

[Twitter] Twitter APIs update

This commit is contained in:
Alex Thomassen 2023-06-05 23:06:07 +02:00
parent 81b16fa80a
commit 7f95645a52
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE
2 changed files with 14 additions and 3 deletions

View File

@ -9,6 +9,7 @@ endpoints:
description: "How precise the timestamp should be in terms of years, months, weeks, days, hours, minutes & seconds.- Default: <code>2</code>."
notes:
- 'Retrieves the account age of the specified Twitter user.'
- '<strong>This API is currently unavailable</strong>'
- route: "latest/:user"
parameters:
- name: ":user"
@ -17,11 +18,17 @@ endpoints:
- name: "no_rts"
description: 'If specified, retweets will <strong>not</strong> be included.'
- name: "include_replies"
description: 'If specified at all, this includes replies from the specified user to other users as well.'
description:
- 'If specified at all, this includes replies from the specified user to other users as well.'
- '<u>Currently does not function.</u>'
- name: "search"
description: 'Goes through each of the latest tweets (up to 200) and then searches with the specified string (case-insensitive). If this is not specified, it will just return the latest tweet.'
description:
- 'Goes through each of the latest tweets (up to 200) and then searches with the specified string (case-insensitive). If this is not specified, it will just return the latest tweet.'
- '<u>Currently does not function.</u>'
- name: "strict"
description: 'This is used together with <code>search</code>. If specified, it will do a case-sensitive search.'
description:
- 'This is used together with <code>search</code>. If specified, it will do a case-sensitive search.'
- '<u>Currently does not function.</u>'
- name: "url"
description: 'If specified, the URL of the tweet will be appended to the result.'
- name: "shorten"

View File

@ -43,6 +43,10 @@
<template v-if="route.includes('twitter/')">
<div class="alert alert-warning">
Due to <a href="https://twitter.com/TwitterDev/status/1621026986784337922" target="_blank" rel="noopener noreferrer" class="alert-link">Twitter's decision</a> to start charging for all API usage out of nowhere, Twitter endpoints may stop working from <a href="https://twitter.com/TwitterDev/status/1623467615539859456" target="_blank" rel="noopener noreferrer" class="alert-link">February 13th, 2023</a>.
<br>
<strong>Update - June 5th 2023:</strong> The "latest tweet" and "latest URL" endpoints should work again for the time being, but with limited functionality. Some of the optional parameters may not work.
</div>
</template>