GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:45 JST Gregory Gregory

    Place your bets which ones of these VKontakte apps I'll be able to make work with Smithereen

    In conversation about 5 days ago from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/116/917/845/500/450/925/original/d5be3e8e34338712.png
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:39 JST Gregory Gregory
      in reply to
      • Daniel Supernault

      Ok what if... One of these old Instagram versions as a Pixelfed client
      @dansup

      In conversation about 5 days ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/116/920/484/462/202/776/original/a89e63655f1ef1fa.png
    • Embed this notice
      Daniel Supernault (dansup@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:39 JST Daniel Supernault Daniel Supernault
      in reply to

      @grishka oh wow, I loved that version of the app

      In conversation about 5 days ago permalink
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:40 JST Gregory Gregory
      in reply to

      And by the way. It uses execute A LOT. Like, more than half the API requests it makes are the `execute` method. This exposed some more bugs and corner cases in my interpreter.

      In conversation about 5 days ago permalink
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:40 JST Gregory Gregory
      in reply to

      Thankfully, I didn't have to decompile it. I just asked the guy who worked on it back then 🙃
      It turns out it does support `sizes`. After I removed that key, photo attachments started showing up.

      In conversation about 5 days ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/116/920/325/709/694/341/original/19d90d4b9d6745b9.png
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:41 JST Gregory Gregory
      in reply to

      Logged into my account on friends.grishka.me, and wow, this is starting to look like the real thing!

      In conversation about 5 days ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: friends.grishka.me
        Gregory's Server

      2. https://files.mastodon.social/media_attachments/files/116/919/309/110/225/244/original/a3a239b5f30d80ec.png

      3. https://files.mastodon.social/media_attachments/files/116/919/313/807/805/560/original/191c0c66e5796ff1.png
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:41 JST Gregory Gregory
      in reply to

      Can't get it to display media attachments in posts =/
      I'm sure I return all the fields that there should be, but it still acts like the attachment isn't even there. But it does display polls for some reason

      In conversation about 5 days ago permalink
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:41 JST Gregory Gregory
      in reply to

      Newsfeed now works as well. This needed some object unwrapping because I did the sensible thing and just made feed entries contain post objects, not this atrocity with `type` and a bunch of different fields depending on what that type is

      In conversation about 5 days ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/116/919/659/883/861/341/original/85070a30dbe67d21.png
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:41 JST Gregory Gregory
      in reply to

      I feel like I'll have to decompile the app to see what exactly it expects in a photo object... Maybe something undocumented? Maybe it expects some numbers to be strings? I remember the developers having problems with that (because, naturally, I know both people who worked on this app)

      In conversation about 5 days ago permalink
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:42 JST Gregory Gregory
      in reply to

      That's also fixed now. Now I should really do something about user objects so profiles display correctly and so profile pictures load.

      In conversation about 5 days ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/116/918/956/663/934/463/original/c7094891ba9a3bdc.png
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:42 JST Gregory Gregory
      in reply to

      Got profiles mostly working. Not sure why images don't load, I return correct URLs and did add the smithereen.local domain to /etc/hosts

      In conversation about 5 days ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/116/919/202/699/190/488/original/d00aa1b871267e34.png

    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:43 JST Gregory Gregory
      in reply to

      So I managed to make the newest app of the three do this. And yes, all those `execute`s are a serious problem. For example, when you create a wall post using the wall.post method, VK would return just an object with {"post_id": 123}. So the app runs an execute that calls wall.post and then wall.getById.

      But Smithereen returns the post object straight from wall.post because why not. But of course that breaks that execute. And there are TONS of things like this, unfortunately.

      In conversation about 5 days ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/116/918/466/194/688/349/original/7c44a8bec6a2afd3.png
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:43 JST Gregory Gregory
      in reply to

      Ooooh interesting. It tries to concatenate arrays using the + operator. I don't think I implement that. Because of this, it can't load the friend list.

      In conversation about 5 days ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/116/918/493/962/252/006/original/377e1b457b1da134.png
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:43 JST Gregory Gregory
      in reply to
      • sam henri gold

      Thanks @samhenrigold for nerd-sniping me into this whole thing btw :P

      In conversation about 5 days ago permalink
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:43 JST Gregory Gregory
      in reply to

      Added + concatenation for arrays: https://github.com/grishka/Smithereen/commit/bfa3dfdbaf8a63edd2d97edeff5b9452414aee59

      Now friends.get returns a permission error for some reason. It shouldn't do that. A token that was obtained using password grant should bypass all permission checks, but for some reason, in this particular case, it doesn't, hmm.

      In conversation about 5 days ago permalink

      Attachments


    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:44 JST Gregory Gregory
      in reply to

      One thing I didn't realize is that these apps are new enough to know about `execute`. Smithereen does have that, it's even better than VK's but fully backwards compatible. However, the code that they execute surely assumes things about older API response formats 🤔

      In conversation about 5 days ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/116/918/127/092/908/268/original/022aa10739e4188d.png
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:45 JST Gregory Gregory
      in reply to

      Now here's the first obstacle: how do I make these apps talk to something I control instead of the real VK servers. For testing I could just put things into /etc/hosts I guess? Oh and I also have to do the self-signed SSL certificate thing because they all use HTTPS for authentication (and only for it, all API calls happen over plaintext HTTP)

      In conversation about 5 days ago permalink
    • Embed this notice
      Gregory (grishka@mastodon.social)'s status on Wednesday, 15-Jul-2026 13:39:45 JST Gregory Gregory
      in reply to

      Ok I'm getting somewhere

      In conversation about 5 days ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/116/918/001/639/864/842/original/7b5cb73fb4cc5954.png

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.