Skip to content
Little GolemMake your next move.

Twixtbot issue

Public forum discussion.

#1 · David J Bush

6 Jun 2022

A couple days ago I sent Twixtbot an invite, and got no response. I emailed Jordan about it and he replied:

Something seems to have happened to the site and it doesn’t give me the list of games to play anymore and so the scraper crashes

I sent another invite a couple hours ago, again with no response. Has anyone else sent the bot an invite recently?

#2 · flounder

7 Jun 2022

I sent an invite to TwixTbot yesterday after reading your post Mr. Bush. After 24 hours, still no response.

#3 · William Fraser

8 Jun 2022

Something has changed in the way that LG handles logins. TheShark can't connect to check for invites, either. I hope to look into this further in the near future. I'll keep you guys posted if I figure anything out...

#4 · Richard Malaschitz

8 Jun 2022

There was no change in the api, but only a small change on the page. The little red icon next to the number of pending games is now refreshed regularly, so when your opponent pulls it will be reflected on the icon and no refresh of the page is needed.

The list of games can be retrieved through the api interface. There is no need to parse the page. The api is not public but you can contact me and I will provide it.

#5 · The_Shark_c

8 Jun 2022

Ah, thanks. Actually, I went through and debugged my script before seeing your reply. I'll contact you next time something breaks ;)

Here are the changes I had to make:

  1. I needed to switch http to https
  2. The url to accept a game needs to have "accept=&invid=xxxx" in both the URL string and as POST data
  3. The returned page for both invitation acceptance and moves being played is now empty

#6 · Tommah

9 Jun 2022

The same thing happened to my Amazons bots. My scripts load the index page and then get the game IDs from that page. Now, though, the game IDs appear to be loaded with AJAX, so my bot doesn't see the game IDs anymore.

#7 · struggler

9 Jun 2022

Same here with mine.

Richard, do you plan to make the API public in the near future?

#8 · William Fraser

9 Jun 2022

As near as I can tell, the gameIDs appear with the initial page load, then get updated via AJAX.

(Based on the page for invitations)