Page 1 of 4

HELP REQUEST FOR SC BOT

Posted: Thu Feb 22, 2018 3:56 pm
by rdearman
Calling all PHP programmers. I'm looking for some assistance sorting out the Super Challenge bot so it correctly handles 3 character language family codes as well as picking up all tweets since it last ran, rather than just the last 5 minutes worth of tweets. (That last thing caused a lot of hassle when we got hacked last year).

We've only got until May to get this sorted out (or we have to live with the old version). The latest version does run in a docker but still need to get the crontab working in the docker system. So if you know docker and cron but not php then you can assist too!

The Git page is here: https://github.com/language-learners/superchallengebot

If you're a user who wants updates or features you can ask for them here, https://github.com/language-learners/su ... bot/issues by raising it as an issue.

Re: HELP REQUEST FOR SC BOT

Posted: Fri Feb 23, 2018 12:59 pm
by Serpent
fwiw, for me it was much worse that some tweets got replies but weren't actually added to the list.

Re: HELP REQUEST FOR SC BOT

Posted: Fri Jun 15, 2018 7:36 pm
by Serpent
do the current technical issues also make it impossible to enable replying to tweets that have been registered?

Re: HELP REQUEST FOR SC BOT

Posted: Fri Jun 15, 2018 9:54 pm
by rdearman
Serpent wrote:do the current technical issues also make it impossible to enable replying to tweets that have been registered?

This seems to be something to do with the actual twitter account the bot uses. I will have more free time soon, so I was planning to go and clear all the messages out of the BOT's inbox. I think that might be the problem, but it is a very manual process which will probably take a couple of days to delete them one by one. Of course that might not be the problem, there is a possibilty the problem is there are two message gathering processes running at the same time. I need to get on to that server.

Re: HELP REQUEST FOR SC BOT

Posted: Sat Jun 16, 2018 2:50 am
by Serpent
hmm do you mean dm's (direct messages)? why do you think it has to do with that?

Re: HELP REQUEST FOR SC BOT

Posted: Sat Jun 16, 2018 10:32 am
by rdearman
Serpent wrote:hmm do you mean dm's (direct messages)? why do you think it has to do with that?

I think there is a mailbox limit with the API used for bots. But I'm not 100% sure that that is the problem. It may be that Twitter has made a change to the API function used to send messages and I'm still using an old or depreciated message protocol. So I thought I would start with the easy option and clear the messages.

EDIT: Don't think it is the mailbox, so must be a problem with the AP call to the function in the bot.

Re: HELP REQUEST FOR SC BOT

Posted: Thu Jul 05, 2018 5:26 pm
by Serpent
the bot is no longer adding new tweets :cry:

Re: HELP REQUEST FOR SC BOT

Posted: Sun Jul 08, 2018 4:56 pm
by rdearman
We've finally managed to connect and I've spent some time sorting out the Twitter Bot. You should now only see the entries for this year, and although it wasn't displaying the tweets it was collecting them. I've seen entries for yesterday and today. If you see any issues let me know and I'll investigate. It would appear that everything is working, except the bot isn't responding to people when it collects the tweet. I think this may be an issue with changes twitter have made to the API so I'll have to look into it when I have more time.

Re: HELP REQUEST FOR SC BOT

Posted: Sun Jul 08, 2018 7:05 pm
by Serpent
Can you check the language families? I'm no longer registered with Romance and Finno-Ugric, only Germanic and Slovenian (never registered for the latter, should be Slavic)
edit: i signed up with Romance again and tweeted all items from scratch.

Re: HELP REQUEST FOR SC BOT

Posted: Sun Jul 08, 2018 11:03 pm
by rdearman
The codes at the bottom of the main page are taken directly from the DB make sure to use those.