Change the Mastodon description/biography programatically

Overview

Random Mastodon Bio ko-fi

Change the Mastodon description/biography programatically

How to?

Just drop it in somewhere and run composer install to add the dependencies.

Open the change_bio.php and edit those const and vars with your api keys and tokens:

// mastodon auth things
const INSTANCE = 'mastodon.social';
const ACCESS_TOKEN = 'your_access_token';

Then just run php change_bio.php and it will change your header.

It will explode since there is nothing to put atm, lets see how to add some sentences:

Adding biographies

If you read the code, it says:

// where are the sentences?
$biosFile = 'bios';

so we need to add in the file bios as many lines as bios we want. One line, one bio, no exception.

Take in mind the current limit is at 500 characters.

Something more

Um, oh, do whatever you like with this, I really don't care. MIT License.

If you need some help or want to verbally abuse me just drop me a toot @[email protected].

If you really liked it and feel like I deserve some money, I don't know whats happening to you, but buy me a coffee and I'll continue transforming caffeine into code.

You might also like...
A PocketMine-MP Plugin that allow you to change your nickname to specific colors
A PocketMine-MP Plugin that allow you to change your nickname to specific colors

General Home A PocketMine-MP Plugin that allow you to change your display nametag to specific colors Made By BabosApple And Updated To PM4 By ZhorifCr

An interface for the administrator to easily change application settings. Uses Laravel Backpack
An interface for the administrator to easily change application settings. Uses Laravel Backpack

Backpack\Settings An interface for the administrator to easily change application settings. Uses Laravel Backpack. Works on Laravel 5.2 to Laravel 8.

A plugin for Pocketmine-MP to change gamemode with ui
A plugin for Pocketmine-MP to change gamemode with ui

GamemodeUI A Plugin For Pocketmine-MP To Change Gamemode With UI 💾 Config # GamemodeUI plugin # Made By FlynnKunz and fernanACM ##############

A simple cache library. Implements different adapters that you can use and change easily by a manager or similar.
A simple cache library. Implements different adapters that you can use and change easily by a manager or similar.

Desarolla2 Cache A simple cache library, implementing the PSR-16 standard using immutable objects. Caching is typically used throughout an applicatito

User authentication REST API with Laravel (Register, Email verification, Login, Logout, Logged user data, Change password, Reset password)

User Authentication API with Laravel This project is a user authentication REST API application that I developed by using Laravel and MySql. Setup Fir

Replace, concat strings or change number fields permanently using Grid Options
Replace, concat strings or change number fields permanently using Grid Options

It's Pimcore Bundle to replace ,concat strings or change number fields permanently using Grid Options. It will save replaced strings directly in object.

Owner
Eduardo Fernández
"I used to be a developer like you, but then I took an arrow in the knee" (https://gitlab.com/EduFdezSoy)
Eduardo Fernández
Interacting with Mastodon's REST API for Kirby v3

Kirby3 Mastodon This plugin provides access to your Mastodon statuses, called 'toots'. Getting started Use one of the following methods to install & u

Fundevogel 5 Dec 31, 2022
Infopanel is a simple tool getting some information from source. It works basically like a slider that shows only title, image, a little bit description and QR-Code for links.

Infopanel is a simple tool getting some information from source. It works basically like a slider that shows only title, image, a little bit description and QR-Code for links. It has its own GUI for the editing. The GUI provides a very simple role concept. This tool can be used for digital signage, Information panels, News or Events or similar.

null 4 Aug 22, 2022
A brief description on how to use Financial Modeling Prep Api

Financial Modeling Prep API Free Financial Statement API. Real-time and historical data of stock prices. Supports over 25000 stocks across multiple ex

Antoine Vulcain 459 Dec 28, 2022
CollectiveAccess is a web-based suite of applications providing a framework for management, description, and discovery of complex digital

README: Pawtucket2 version 1.7.14 About CollectiveAccess CollectiveAccess is a web-based suite of applications providing a framework for management, d

CollectiveAccess 70 Sep 28, 2022
Description: A simple plugin that sets the current admin page to always be at the top of the admin menu.

=== Sticky Admin Menu === Contributors: sc0ttkclark Donate link: https://www.scottkclark.com/ Tags: admin menu, sticky Requires at least: 4.4 Tested u

Scott Kingsley Clark 2 Sep 29, 2022
Record the change log from models in Laravel

This package will help you understand changes in your Eloquent models, by providing information about possible discrepancies and anomalies that could

Owen IT Services 2.5k Dec 30, 2022
Personal Knowledge Management. Use branch "minimal change" to deploy as laravel package.

Knowfox Knowfox is my Personal Knowledge Management system. Having been an keen Evernote user since 2012, I finally got around to taking my precious n

null 180 Dec 28, 2022
LDAP-OSNAME-CHANGE-ALLOWER - This is my first php, hopefully last.

LDAP-OSNAME-CHANGE-ALLOWER This PHP script allows SELF user to read and write the 'Operating System' property on the target computer/s. How was it dev

Özgün Kültekin 5 Apr 9, 2022
Mobile detect change theme and redirect based on device type. Magento 2 module.

Magento 2 Mobile Detect Theme Change Magento 2 Mobile detect system can be used to load different themes base on the client device (desktop, tablet, m

EAdesign 27 Jul 5, 2022
A simple cache library. Implements different adapters that you can use and change easily by a manager or similar.

Desarolla2 Cache A simple cache library, implementing the PSR-16 standard using immutable objects. Caching is typically used throughout an applicatito

Daniel González 129 Nov 20, 2022