Mobile App support
-
wrote on Jul 29, 2020, 12:16 PM last edited by rmdes Jul 29, 2020, 12:18 PM
I have asked the Pixelfed dev's what need to be done to be able to use PixelDroid or Fedilab directly with one's instance, this is their reply :
Mobile support is not activated by default, it needs to be activated manually.
To enable mobile app support*
(in the Cloudron context use : sudo -u www-data run php artisan "command" in the app/code/ location )
-
Run php artisan passport:keys (this generates a bunch of keys, ends without error)
-
Add OAUTH_ENABLED=true to .env (I have added this to env.production)
-
Run php artisan config:cache (this runs without error)
-
Run php artisan route:cache (this also runs without error)
-
Run php artisan passport:client --personal (this creates a personal access client token)
What should we name the personal access client? [rMdes Pixelfed Personal Access Client]:
rMdesApp
Personal access client created successfully.
Client ID: 1
Client secret: verylongnumbersletterstokenOnce all these steps are done, you can use PixelDroid or Fedilab to connect to your Pixelfed instance from your mobile and you're good to go !
-
-
this is OUTSTANDING! I'm excited to see their official apps come out (closed beta I guess at the moment??)
Trying this now on my very busy instance
-
@girish - can we add this to the doc?
-
Does this need to be done for each user? or the app needs this to allow login for any user?
-
this is OUTSTANDING! I'm excited to see their official apps come out (closed beta I guess at the moment??)
Trying this now on my very busy instance
wrote on Jul 29, 2020, 4:22 PM last edited by@doodlemania2 Pixeldroid is already pretty cool for a Alpha app :))
and Fedilab is almost built around mastodon & pixelfed from the get go
so you can really use the pixelfed features from the fedilab app directly
I'm quite impressed if this is just the begining, I'm so glad I can really stop using Instagram my pixelfed instance is now my main driver for pictures from mobile & desktop -
Does this need to be done for each user? or the app needs this to allow login for any user?
@murgero Hopefully once per instance, but given it looks like it is creating some sort of PAT, that makes me wonder. I know the Pixelfed team is working on official mobile apps, so surely it wouldn't require PATs per user.
-
@rmdes said in Mobile App support:
Fedilab
Absent the official apps, still been looking for a good iOS app for Pixelfed.
-
wrote on Jul 30, 2020, 9:02 AM last edited by
@rmdes said in Mobile App support:
OAUTH_ENABLED=true
Thank you for posting this. I also can now post remotely. If anyone is interested, my instance is @lenote.eu. I am @scooke. I add this because the one time I was able to search, and find, and follow someone was when they shared their entire name @username@theirinstance.com
-
@rmdes Great write up, thanks. I will integrate this into the package itself so that the mobile app is enabled by default. Can't think of any reason why it's not (I think we do similar for monica app)
@girish Will you bump the package when ready?
-
@doodlemania2 done