v0.0.2
basic twitter api that doesn't require you to have a twitter account to use.
Repository
Current version released
3 years ago
Deno twitter guest api
Basic twitter api for Deno that doesn’t require you to have a twitter account to use.
Use
import {
getSearchQueryTweetsFromQuery,
getTweetsFromURL,
getRecommendedTweetsFromURL
} from "https://deno.land/x/deno_twitter_guest_api@v0.0.1/mod.ts";
// get most recent tweets based on twitter search query
const tweets = await getSearchQueryTweetsFromQuery("from:zhusu -filter:replies min_faves:700");
// get tweet/tweet-thread based on tweet url
const tweets = await getTweetsFromURL("https://twitter.com/zhusu/status/1516675652438851589");
// get recommended tweets based on tweet url
const tweets = await getRecommendedTweetsFromURL("https://twitter.com/zhusu/status/1516675652438851589");