Skip to content

Documentation & Examples on how to use Authory's API

Notifications You must be signed in to change notification settings

Authory/twitter-backup-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Backup Tool - API & JSON Export

This repository shows how to use the API of our twitter backup tool.

How to use

Your userId is the alphanumeric code you can find in the URL of your profile. For example the userId of this profile is a06bd89d39144f88

const response = await fetch(`https://api-development.authory.com/twitter-import/profile/${userId}`)

const result: TwitterBackupApiResponse = await response.json() as any

for(const content of result.articles) {
  console.log(`${content.type}: ${content.description}`)
}

You can find the type definitions here.

Please check api.ts for an example on how to use the API.

Please check exported-archive.ts for an example on how to use the JSON export. You can find a download link for the JSON file in your onboarding email.

About

Documentation & Examples on how to use Authory's API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published