Switch Bridgy syndication from Micropub to webmention
Bridgy's Micropub endpoint required per-silo access tokens and posted raw markdown content directly. Switch to Bridgy's webmention publish endpoint instead: POST source/target to /publish/webmention and let Bridgy re-fetch the note page, which now carries hidden verification links for silos not yet syndicated. Removes the now-unused config/bridgy.php and BRIDGY_MASTODON_TOKEN env var, and caps both jobs to a single try since retries would send Bridgy a duplicate publish webmention.
This commit is contained in:
parent
11e2c469cb
commit
db09718a96
9 changed files with 167 additions and 94 deletions
|
|
@ -1,31 +0,0 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Mastodon Token
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When syndicating posts to Mastodon using Brid.gy’s Micropub endpoint, we
|
||||
| need to provide an access token. This token can be generated by going to
|
||||
| https://brid.gy/mastodon and clicking the “Get token” button.
|
||||
|
|
||||
*/
|
||||
|
||||
'mastodon_token' => env('BRIDGY_MASTODON_TOKEN'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Bluesky Token
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When syndicating posts to Bluesky using Brid.gy’s Micropub endpoint, we
|
||||
| need to provide an access token. This token can be generated by going to
|
||||
| https://brid.gy/bluesky and clicking the “Get token” button.
|
||||
|
|
||||
*/
|
||||
|
||||
'bluesky_token' => env('BRIDGY_BLUESKY_TOKEN'),
|
||||
|
||||
];
|
||||
Loading…
Reference in a new issue