Hairy Larry's Blog - Delta Boogie Network-Gamer+
Home - Table Of Contents - Most Recent - RSS - Permalink - Text
Search:
Embed Mastodon Threads
Posted on 2024-10-28
This is a test of my program, Embed Mastodon Threads, that I have been working on for the last couple of days.

It is not exactly a Plain Text Program, but close enough. It uses a database but it's accessed through an API so I don't have to maintain it.

It's 44 lines of php. 7 of those lines are commented out debug code. So 37 lines of code.

At the parent node, toot, post, status (all mean the same thing) click the menu and then Embed. Copy the embed code.

Extract the url from the embed code. For this example it is.

https://gamerplus.org/@hairylarry/113385070171973043

Use the embed code to make a link like this.

https://home.gamerplus.org/Embed_Mastodon_Threads/thread.php?link=https://gamerplus.org/@hairylarry/113385070171973043

Use that for your iframe src.

I'm going to try it. Control your iframe with width, height, etc.




Home - Table Of Contents - Most Recent - RSS - Permalink - Text
Hairy Larry On G+DBN Mastodon
Home - Table Of Contents - Most Recent - RSS
Gamer+ Tumblr
Home - Table Of Contents - Most Recent - RSS
Related To Geeks Tumblr
Home - Table Of Contents - Most Recent - RSS
Powered By Plain Text Blog