HELP REQUEST FOR SC BOT

Discuss technical problems and features here
User avatar
rdearman
Site Admin
Posts: 7231
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23123
Contact:

HELP REQUEST FOR SC BOT

Postby rdearman » Thu Feb 22, 2018 3:56 pm

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.
1 x
: 0 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.

User avatar
Serpent
Black Belt - 3rd Dan
Posts: 3657
Joined: Sat Jul 18, 2015 10:54 am
Location: Moskova
Languages: heritage
Russian (native); Belarusian, Polish

fluent or close: Finnish (certified C1), English; Portuguese, Spanish, German, Italian
learning: Croatian+, Ukrainian; Romanian, Galician; Danish, Swedish; Estonian
exploring: Latin, Karelian, Catalan, Dutch, Czech, Latvian
x 5179
Contact:

Re: HELP REQUEST FOR SC BOT

Postby Serpent » Fri Feb 23, 2018 12:59 pm

fwiw, for me it was much worse that some tweets got replies but weren't actually added to the list.
1 x
LyricsTraining now has Finnish and Polish :)
Corrections welcome

User avatar
Serpent
Black Belt - 3rd Dan
Posts: 3657
Joined: Sat Jul 18, 2015 10:54 am
Location: Moskova
Languages: heritage
Russian (native); Belarusian, Polish

fluent or close: Finnish (certified C1), English; Portuguese, Spanish, German, Italian
learning: Croatian+, Ukrainian; Romanian, Galician; Danish, Swedish; Estonian
exploring: Latin, Karelian, Catalan, Dutch, Czech, Latvian
x 5179
Contact:

Re: HELP REQUEST FOR SC BOT

Postby Serpent » Fri Jun 15, 2018 7:36 pm

do the current technical issues also make it impossible to enable replying to tweets that have been registered?
0 x
LyricsTraining now has Finnish and Polish :)
Corrections welcome

User avatar
rdearman
Site Admin
Posts: 7231
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23123
Contact:

Re: HELP REQUEST FOR SC BOT

Postby rdearman » Fri Jun 15, 2018 9:54 pm

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.
0 x
: 0 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.

User avatar
Serpent
Black Belt - 3rd Dan
Posts: 3657
Joined: Sat Jul 18, 2015 10:54 am
Location: Moskova
Languages: heritage
Russian (native); Belarusian, Polish

fluent or close: Finnish (certified C1), English; Portuguese, Spanish, German, Italian
learning: Croatian+, Ukrainian; Romanian, Galician; Danish, Swedish; Estonian
exploring: Latin, Karelian, Catalan, Dutch, Czech, Latvian
x 5179
Contact:

Re: HELP REQUEST FOR SC BOT

Postby Serpent » Sat Jun 16, 2018 2:50 am

hmm do you mean dm's (direct messages)? why do you think it has to do with that?
0 x
LyricsTraining now has Finnish and Polish :)
Corrections welcome

User avatar
rdearman
Site Admin
Posts: 7231
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23123
Contact:

Re: HELP REQUEST FOR SC BOT

Postby rdearman » Sat Jun 16, 2018 10:32 am

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.
0 x
: 0 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.

User avatar
Serpent
Black Belt - 3rd Dan
Posts: 3657
Joined: Sat Jul 18, 2015 10:54 am
Location: Moskova
Languages: heritage
Russian (native); Belarusian, Polish

fluent or close: Finnish (certified C1), English; Portuguese, Spanish, German, Italian
learning: Croatian+, Ukrainian; Romanian, Galician; Danish, Swedish; Estonian
exploring: Latin, Karelian, Catalan, Dutch, Czech, Latvian
x 5179
Contact:

Re: HELP REQUEST FOR SC BOT

Postby Serpent » Thu Jul 05, 2018 5:26 pm

the bot is no longer adding new tweets :cry:
0 x
LyricsTraining now has Finnish and Polish :)
Corrections welcome

User avatar
rdearman
Site Admin
Posts: 7231
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23123
Contact:

Re: HELP REQUEST FOR SC BOT

Postby rdearman » Sun Jul 08, 2018 4:56 pm

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.
2 x
: 0 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.

User avatar
Serpent
Black Belt - 3rd Dan
Posts: 3657
Joined: Sat Jul 18, 2015 10:54 am
Location: Moskova
Languages: heritage
Russian (native); Belarusian, Polish

fluent or close: Finnish (certified C1), English; Portuguese, Spanish, German, Italian
learning: Croatian+, Ukrainian; Romanian, Galician; Danish, Swedish; Estonian
exploring: Latin, Karelian, Catalan, Dutch, Czech, Latvian
x 5179
Contact:

Re: HELP REQUEST FOR SC BOT

Postby Serpent » Sun Jul 08, 2018 7:05 pm

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.
0 x
LyricsTraining now has Finnish and Polish :)
Corrections welcome

User avatar
rdearman
Site Admin
Posts: 7231
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 23123
Contact:

Re: HELP REQUEST FOR SC BOT

Postby rdearman » Sun Jul 08, 2018 11:03 pm

The codes at the bottom of the main page are taken directly from the DB make sure to use those.
0 x
: 0 / 150 Read 150 books in 2024

My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter

I post on this forum with mobile devices, so excuse short msgs and typos.


Return to “Technical Support and Feature Requests”

Who is online

Users browsing this forum: No registered users and 2 guests