Mastodon apps not working

I just tested this version and auth works fine.

Oh it’s my fault. I missunderstood and mixed Mastodon and Mattermost…

I tried all versions available and they all fail, also Tusky (FDroid). I cannot log in on my 10III, but no problems on the XA2+.

It took 3 tries (one was a typo:) but I did get a login and the 64bit tooter works for me on the xperia 10ii as well. The login screen, is, I believe, still in an ‘old’ webview and it’s REALLY unresponsive on the xperia. I’ll take a look at the code and see if it is indeed the webview and ask adel to update or make a merge request. EDIT, yes, it’s an old SilicaWebView. I’ll look at it.

I found the problem, partly. The settings of the browser were: ‘tell sites not to follow me’. I switched that off. Now Tooter beta aarch64 works, understandable, but in Tusky I still cannot log in.

Indeed, the buttons are not very responsive. Yet I hope that Tooter can be maintained.

I’ve forked, will implement a newer login screen and try to coordinate with adel | OpenRepos.net — Community Repository System to keep that version at least ‘usable’. Have you tried posting? I’ve only logged in and checked my feed on mastodo.gamesdev.place but not posted…

1 Like

There is some real legacy to the login process in this app. It includes redirection over a third party which is, frankly, not something I want to use.

Thankfully @flypig demonstrated how to do oath against the mastodon apis here: Sailfish Community News, 2nd December, Developer Docs, WebAuth … Now to implement it with tooter toot, di toot. Or hope @flypig beats me too it :slight_smile:

In any case, the ‘modern’ WebView works and it’s a lot nicer rendering.

2 Likes

In case helpful, i’ve found the Fedilab app works for me for accessing Mastodon on my 10iii. But it doesn’t involve the OAuth workarounds that @flypig discussed. So I’d love to see some of these other options work out too :smiley:

Tooter b works fine for me on 10ii except for there is not much going on on Mastodon. Are there international users at all?

Depends on the instance :slight_smile: I lurk a bit on mastodon.gamedev.place which is quite active. Which mastodon instance are you using?

You may not SEE the OAuth2 flow in practice, but it’s probably there :slight_smile: In any case the tooter b version (also with my changes ) works by using the credentials (as app id/secret) of a third party. You just don’t see that. That should be changed. I’m just not certain yet if the amber web auth solution requires making a new app for EACH instance of mastodon. That would be a pita, indeed. Tooter solves that, if I’m not mistaken, by acting as a proxy. But, since I believe they also only use on id/secret, it may be that you only need to create the app credentials once. I’m pestering @flypig (sorry!) in parallel to see if I’m on the right track.

1 Like

It works now on my 10III, but as far as Mastodon works. On all devices it is slow at the moment because of a huge number of new people who dislike Musk.

I chose the first instance google popped up with, social.anoxion.de or sth… I registered some time ago and only now recognised there were different instances at all, which are not always interconnected. Don’t know much about mine, though. Maybe I try’ll try another one.

It’s a bit of work but if you have a language preference at the start it narrows things down: https://instances.social/

This is not correct. It’s a bit complicated, but the tooter beta app get’s uses the login screen of the mastodon service and makes a request to the api for a client secret/api key. That then get’s stored locally and is used when next you open the app and enter the same domain.

I’ve swapped out the QTWebkit component here: GitHub - poetaster/harbour-tooter: Tooter is Mastodon client for Sailfish OS. but still need to fix the redirect to localhost. Although, it does work as it is, when the call to the api returns, it tries to call ‘localhost’ which leads to an error screen. However, you can from that point on use the app.

I’m going to do this in 2 steps. First, make sure a local service is reachable and use the old code base and second, time permitting, move to Amber. The latter step would completely take the app out of the login loop.

As of Add a small web server service to respond to redirect on the login page. · poetaster/harbour-tooter@f3c9873 · GitHub

There is a prerelease: Release This is a prerelease with new WebView for testin. · poetaster/harbour-tooter · GitHub where any one that could help testing can download (aarch64 only unless you need otherwise).

And I’ve a made a merge request. So, this is stage one done :slight_smile:

Thank you for all that work! Tooter works fine now on my device. I have the official Mastodon app and a client, Tootle on the ipad. I installed had Tusky, but Tooter is the best of all, easy to use, a bit slow, never mind.

1 Like

Could you also compile for 32 bit?

Added: https://github.com/poetaster/harbour-tooter/releases/download/1.0.8/harbour-tooterb-1.0.8-0.armv7hl.rpm

2 Likes