Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up[Feature Request] Support Mastodon #712
Comments
mariotaku
added
the
type:feature-request
label
Feb 28, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yvolk
Mar 16, 2017
A long story of this incompatibility is here (without any end though...) andstatus/andstatus#419
yvolk
commented
Mar 16, 2017
|
A long story of this incompatibility is here (without any end though...) andstatus/andstatus#419 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Lertsenem
Apr 3, 2017
If I understand well, Mastodon does not offer a StatusNet API by design. But it does offer a twitter-like API that Twidere could probably use with little adjustments.
Lertsenem
commented
Apr 3, 2017
|
If I understand well, Mastodon does not offer a StatusNet API by design. But it does offer a twitter-like API that Twidere could probably use with little adjustments. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yvolk
Apr 3, 2017
"StatusNet API" is the "Twitter compatible API". This is why I advised @Gargron to adopt it, for compatibility with existing clients.
yvolk
commented
Apr 3, 2017
|
"StatusNet API" is the "Twitter compatible API". This is why I advised @Gargron to adopt it, for compatibility with existing clients. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Gargron
Apr 3, 2017
The mastodon client API is only twitter-like in that all REST JSON APIs are like twitter's. The StatusNet API was bad, so I didn't copy it. We had good success creating apps for the Mastodon API, with lots of positive feedback from devs saying it's really straightforward and easy. It's all in the past anyway, don't see how discussing it is productive.
Gargron
commented
Apr 3, 2017
|
The mastodon client API is only twitter-like in that all REST JSON APIs are like twitter's. The StatusNet API was bad, so I didn't copy it. We had good success creating apps for the Mastodon API, with lots of positive feedback from devs saying it's really straightforward and easy. It's all in the past anyway, don't see how discussing it is productive. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Lertsenem
Apr 3, 2017
Nevermind the API, as a user the Twidere app is vastly more mature than what Tusky can offer now, and for quite some time I'm sure. Plus the multi account management is a killer feature for any user willing to migrate from Twitter to Mastodon.
@Gargron, I hear you when you say that the StatusNet API is bad, but would the cost of implementing it alongside your new API that high ? Would you reject PR aiming to do this or are you just not interested enough to do the work yourself ?
Separately, would the implementation of Mastodon API as an alternative in Twidere be doable ? Would it be hard ?
Lertsenem
commented
Apr 3, 2017
|
Nevermind the API, as a user the Twidere app is vastly more mature than what Tusky can offer now, and for quite some time I'm sure. Plus the multi account management is a killer feature for any user willing to migrate from Twitter to Mastodon. @Gargron, I hear you when you say that the StatusNet API is bad, but would the cost of implementing it alongside your new API that high ? Would you reject PR aiming to do this or are you just not interested enough to do the work yourself ? Separately, would the implementation of Mastodon API as an alternative in Twidere be doable ? Would it be hard ? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yvolk
Apr 3, 2017
@Gargron I understood your "disappearance" from our discussion at andstatus/andstatus#419 (that you started) as you had no arguments to support your decision on API and you lost interest to implement it yourself... ?!
yvolk
commented
Apr 3, 2017
|
@Gargron I understood your "disappearance" from our discussion at andstatus/andstatus#419 (that you started) as you had no arguments to support your decision on API and you lost interest to implement it yourself... ?! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mariotaku
Apr 3, 2017
Member
Twidere can add support for other social platforms, as long as basic requirements met (users/status objects with unique id). It won't too hard technically speaking, however it would be a rather huge work to do. I'm willing to accept PRs that add Mastodon support.
|
Twidere can add support for other social platforms, as long as basic requirements met (users/status objects with unique id). It won't too hard technically speaking, however it would be a rather huge work to do. I'm willing to accept PRs that add Mastodon support. |
mariotaku
referenced this issue
Apr 4, 2017
Closed
[FEATURE REQUEST] Support for the GNU-Social compatible Mastodon social served #748
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mariotaku
Apr 7, 2017
Member
So here's what we need to support Mastodon:
- OAuth 2 authorization (easy, a header is enough)
- Login flow
- Mastodon specific account info
- Mastodon objects (Posts, Users...)
- Mastodon API (See Twitter API for example, just need to annotate some interfaces)
- Utility classes converts Mastodon object to Twidere's
ParcelableXXXobject
Guys, since I have something else to do (iOS version and my work and my school works), could anyone help me doing tasks I've mentioned above? This can help this feature finished sooner.
|
So here's what we need to support Mastodon:
Guys, since I have something else to do (iOS version and my work and my school works), could anyone help me doing tasks I've mentioned above? This can help this feature finished sooner. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
vanita5
Apr 7, 2017
Contributor
I'm currently working with the Mastodon API and I'd love to implement this, but I'm afraid I won't have time 'till next weekend.
If anyone else is interested in helping out in the meantime, you can take a look at my node library regarding the login flow and how to get an access token: https://github.com/vanita5/mastodon-api
|
I'm currently working with the Mastodon API and I'd love to implement this, but I'm afraid I won't have time 'till next weekend. If anyone else is interested in helping out in the meantime, you can take a look at my node library regarding the login flow and how to get an access token: https://github.com/vanita5/mastodon-api |
added a commit
that referenced
this issue
Apr 17, 2017
mariotaku
modified the milestone:
3.6
Apr 17, 2017
mariotaku
added
the
status:working
label
Apr 17, 2017
added a commit
that referenced
this issue
Apr 18, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mariotaku
Apr 18, 2017
Member
I really should've give up any hope that anyone will help me with this feature. Is arguing about API more productive than implementing some features that can be done within 3 days?
|
I really should've give up any hope that anyone will help me with this feature. Is arguing about API more productive than implementing some features that can be done within 3 days? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Lertsenem
Apr 18, 2017
Sorry, I would help but unfortunately I don't speak neither Java nor Kotlin. :/
Lertsenem
commented
Apr 18, 2017
|
Sorry, I would help but unfortunately I don't speak neither Java nor Kotlin. :/ |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
cyphar
Apr 19, 2017
Another thing to note that Twidere has above Tusky is that Twidere is actually available in FDroid. Tusky recently added proprietary requirements which made it non-free -- making it impossible to have a Mastodon app on your phone if you don't have the Play Store. I'm not a great Java developer (if I was I definitely would be helping out).
cyphar
commented
Apr 19, 2017
|
Another thing to note that Twidere has above Tusky is that Twidere is actually available in FDroid. Tusky recently added proprietary requirements which made it non-free -- making it impossible to have a Mastodon app on your phone if you don't have the Play Store. I'm not a great Java developer (if I was I definitely would be helping out). |
added a commit
that referenced
this issue
Apr 19, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mariotaku
Apr 21, 2017
Member
What still needs to be done:
- Edit profile
- Follow/block/mute
- Set visibility for status
- Ensure account color set (by adding toParcelable(AccountDetails) maybe?)
|
What still needs to be done:
|
mariotaku
added
status:done
and removed
status:working
labels
Apr 22, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mariotaku
Apr 22, 2017
Member
I guess this can be marked as done. Please test 3.5.23 version and help me to make sure every function is working properly.
|
I guess this can be marked as done. Please test 3.5.23 version and help me to make sure every function is working properly. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Lertsenem
commented
Apr 22, 2017
|
Nice! Thank you so much! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
MightyPork
Apr 22, 2017
Some bugs I found while testing it:
- notifications and the like say 'tweet' instead of 'toot'
the reply box has a 140 char limit (click 'reply' on a toot)Apparently this is because it somehow posted my test toot also to twitter and the mention I was trying to reply to was a tweet. Really confusing (especially when both accounts have the same avatar)- "network public" timeline is not federated, but also local - so you get it twice
- apostrophes and maybe other things show as HTML entities
- getting lots of duplicate notifications (already dismissed)
- timelines don't seem to want to update unless I pull down
- the hashtag tab is always empty (maybe it shouldn't be added when the user creates a mastodon account?)
- the DMs tab for some reason shows DMs from Twitter
MightyPork
commented
Apr 22, 2017
•
|
Some bugs I found while testing it:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Lertsenem
Apr 22, 2017
I found some others (testing 3.5.25). Should we write them here for the time being, or should we open new issues right now?
- not only apostrophes, but line breaks are not properly rendered too
- replying to a toot does not use the user full handle (only the username, not the instance), so the mentions cannot work out of the box for external users
- when you use both a twitter and a mastodon account, modifying the interactions tab to print only the mastodon account notifs makes it unable to show follows/favs/RTs (only mentions)
timelines don't seem to want to update unless I pull down
I couldn't reproduce this. Auto-refresh is working on my device.
Lertsenem
commented
Apr 22, 2017
|
I found some others (testing 3.5.25). Should we write them here for the time being, or should we open new issues right now?
I couldn't reproduce this. Auto-refresh is working on my device. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
picsi
commented
Apr 23, 2017
|
@mariotaku can you let us know when you push this update to F-Droid? Thanks. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Hund
commented
Apr 23, 2017
|
@picsi The guys over at F-Droid compiles the packages themselves. |
This was referenced Apr 23, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mariotaku
Apr 23, 2017
Member
not only apostrophes, but line breaks are not properly rendered too
replying to a toot does not use the user full handle (only the username, not the instance), so the mentions cannot work out of the box for external users
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mariotaku
Apr 23, 2017
Member
notifications and the like say 'tweet' instead of 'toot'
Yes, this is because Twidere still uses Twitter's writing style, it will make text needed to translate multiplied if we add text for platforms respectively
the reply box has a 140 char limit (click 'reply' on a toot)
You can set account color in 'Accounts' list.
"network public" timeline is not federated, but also local
apostrophes and maybe other things show as HTML entities
getting lots of duplicate notifications
timelines don't seem to want to update unless I pull down
the hashtag tab is always empty
OK, I'll consider making this tab not added by default when a user login to mastodon instances
the DMs tab for some reason shows DMs from Twitter
Mastodon doesn't have DM feature yet.
Yes, this is because Twidere still uses Twitter's writing style, it will make text needed to translate multiplied if we add text for platforms respectively
You can set account color in 'Accounts' list.
OK, I'll consider making this tab not added by default when a user login to mastodon instances
Mastodon doesn't have DM feature yet. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mariotaku
Apr 23, 2017
Member
Please, open separate issues rather than commenting here to make sure they get tracked respectively
Please, open separate issues rather than commenting here to make sure they get tracked respectively |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
cyphar
Apr 23, 2017
the DMs tab for some reason shows DMs from Twitter
Mastodon doesn't have DM feature yet.
OStatus (Mastodon) has different privacy preferences for messages, so "DMs" are supported, they're just not a separate communication method (you can send a message to someone that only you and they can read).
cyphar
commented
Apr 23, 2017
•
OStatus (Mastodon) has different privacy preferences for messages, so "DMs" are supported, they're just not a separate communication method (you can send a message to someone that only you and they can read). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mariotaku
Apr 23, 2017
Member
@cyphar 'Direct' statuses in Mastodon still should be treated as status, because they mixed in notifications timeline. I'll make this DM conversation style only when it have related API to do that.
|
@cyphar 'Direct' statuses in Mastodon still should be treated as status, because they mixed in notifications timeline. I'll make this DM conversation style only when it have related API to do that. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
cyphar
Apr 23, 2017
Fair enough, I was just pointing out that in OStatus I don't believe there is any plan to have "DMs" because privacy options fulfill that need in a more generic way.
cyphar
commented
Apr 23, 2017
|
Fair enough, I was just pointing out that in OStatus I don't believe there is any plan to have "DMs" because privacy options fulfill that need in a more generic way. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mariotaku
Apr 23, 2017
Member
@cyphar Yeah, Mastodon's 'Direct' mentions are still not private enough since recipients may not respect this visibility.
|
@cyphar Yeah, Mastodon's 'Direct' mentions are still not private enough since recipients may not respect this visibility. |
rodneyrod commentedFeb 17, 2017
Mastodon is a new server for interacting with StatusNet networks, but it doesn't seem to use a client connection method that is compatible with existing StatusNet clients. Support for this will have to be added.
https://github.com/tootsuite/mastodon/blob/master/docs/Using-Mastodon/FAQ.md