Skip to content

Instantly share code, notes, and snippets.

@lucahammer
lucahammer / mastoviz.py
Last active February 12, 2024 11:29
Mastodon Network visualization (for use with Gephi)
'''
Replace base_url, access_token and user_id
'''
import requests
base_url = 'https://vis.social/api/v1/'
# https://takahashim.github.io/mastodon-access-token/
access_token = '###'
# which followers to visualize