Change the Mastodon description/biography programatically

Last update: Apr 29, 2022

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.

GitHub

https://github.com/EduFdezSoy/Random-Mastodon-Bio
You might also like...

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.

May 24, 2022
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

Jan 17, 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.

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.

Mar 25, 2022
A brief description on how to use Financial Modeling Prep Api
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

May 24, 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

Mar 31, 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

May 18, 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

Mar 14, 2022
LDAP-OSNAME-CHANGE-ALLOWER - This is my first php, hopefully last.
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

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

Jan 24, 2020
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

Apr 24, 2022
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

Feb 22, 2022