Skip to content

Baller-Michael/mastodon-posts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mastodon Timeline

A react package to access Mastodon timelines.

Introduction Mastodon is a free, open-source, decentralized microblogging network. This package provides an easy way to access Mastodon timelines using React. With Mastodon Timeline, you can retrieve the latest toots (posts) from a Mastodon instance or a user's timeline.

Installation You can install the Mastodon Timeline package by running the following command in your terminal:

npm install mastodon-timeline

Usage To use Mastodon Timeline, you'll need to have a Mastodon account and create an application on the instance you want to access. After you've created your application, you can use the following code to retrieve the latest toots from a Mastodon instance:

client_id='your_client_id',  

client_secret='your_client_secret',  

access_token='your_access_token',  

api_base_url='https://your_instance.com/'  

About

Mastodon timeline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published