danito / KnownMastodon

Syndicate to Mastodon
Apache License 2.0
26 stars 5 forks source link

Something went wrong #34

Closed jeremycherfas closed 3 months ago

jeremycherfas commented 3 months ago

On attempting to add my account, email jcherfas@mac.com user etp@indieweb.social, I got an error


Stack trace:
#0 /home/jeremygrav/stream.jeremycherfas.net/IdnoPlugins/Mastodon/theCodingCompany/HttpRequest.php(132): count('{"client_name":...')
#1 /home/jeremygrav/stream.jeremycherfas.net/IdnoPlugins/Mastodon/theCodingCompany/HttpRequest.php(86): theCodingCompany\HttpRequest::http_request('POST', 'https://indiewe...', Array, '{"client_name":...')
#2 /home/jeremygrav/stream.jeremycherfas.net/IdnoPlugins/Mastodon/theCodingCompany/oAuth.php(107): theCodingCompany\HttpRequest::Post('api/v1/apps', Array, Array)
#3 /home/jeremygrav/stream.jeremycherfas.net/IdnoPlugins/Mastodon/theCodingCompany/Mastodon.php(57): theCodingCompany\Mastodon->getAppConfig()
#4 /home/jeremygrav/stream.jeremycherfas.net/IdnoPlugins/Mastodon/Pages/Account.php(71): theCodingCompany\Mastodon->createApp('Jeremy Cherfas', 'https://stream....')
#5 /home/jeremygrav/stream.jeremycherfas.net/Idno/Common/Page.php(409): IdnoPlugins\Mastodon\Pages\Account->postContent()
#6 /home/jeremygrav/stream.jeremycherfas.net/vendor/idno/torophp/src/Toro.php(69): Idno\Common\Page->post()
#7 /home/jeremygrav/stream.jeremycherfas.net/index.php(62): Toro::serve(Object(Idno\Core\PageHandler))
#8 {main}```

When I try again, I see the button Save dimmed out, and the button Connect to IndieWeb.social. When I click on that button, something happens and I am returned to the same page.

I then have a Syndicate button on posts, but despite enabling it, syndication does not appear to take place.
jeremycherfas commented 3 months ago

Solved https://stream.jeremycherfas.net/2024/now-able-to-posse-to-mastodon

danito commented 3 months ago

Thanks, I have updated the Mastodon oAuth files from @crscheid