yes it definitely starts on saturday. something mixed up with day 0 vs day 1?
is there a length limit for titles and is it necessary? i couldn't get a long item registered until i moved the tag to the beginning. after that it got registered as "unknown". does the bot still check only the first 140 characters after twitter has increased the allowed character count?
HELP REQUEST FOR SC BOT
- 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 5181
- Contact:
- rdearman
- Site Admin
- Posts: 7259
- Joined: Thu May 14, 2015 4:18 pm
- Location: United Kingdom
- Languages: English (N)
- Language Log: viewtopic.php?f=15&t=1836
- x 23299
- Contact:
Re: HELP REQUEST FOR SC BOT
Serpent wrote:yes it definitely starts on saturday. something mixed up with day 0 vs day 1?
is there a length limit for titles and is it necessary? i couldn't get a long item registered until i moved the tag to the beginning. after that it got registered as "unknown". does the bot still check only the first 140 characters after twitter has increased the allowed character count?
The field in the DB is set to 140 characters, so although twitter changed our DB hasn't, and will not until next time. So it will have to be 140 characters I'm afraid.
0 x
: 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.
My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter
I post on this forum with mobile devices, so excuse short msgs and typos.
- 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 5181
- Contact:
Re: HELP REQUEST FOR SC BOT
my title is only 122 characters long. (the one i could submit is 111 characters, haven't tried anything in between)
maybe it only checks the first 140 characters of your tweet?
maybe it only checks the first 140 characters of your tweet?
0 x
- rdearman
- Site Admin
- Posts: 7259
- Joined: Thu May 14, 2015 4:18 pm
- Location: United Kingdom
- Languages: English (N)
- Language Log: viewtopic.php?f=15&t=1836
- x 23299
- Contact:
Re: HELP REQUEST FOR SC BOT
Serpent wrote:my title is only 122 characters long. (the one i could submit is 111 characters, haven't tried anything in between)
maybe it only checks the first 140 characters of your tweet?
Was there any unicode character? They take more space in the DB.
0 x
: 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.
My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter
I post on this forum with mobile devices, so excuse short msgs and typos.
- 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 5181
- Contact:
Re: HELP REQUEST FOR SC BOT
yes, here's the title:
"es: mijáilov - las 19 copas mundiales de fútbol: datos estadísticos y análisis desde el punto de vista de la cienciometría"
so 5 extra characters?
as i said, the first two times i tried, it didn't even get to the end of the tweet for the language tag and didn't register anything. then i posted it with the language tag in the beginning and it got registered as unknown. then i was able to edit it, but only if the closing quotation mark was within the 140 first characters of the tweet i guess? here are the tweets in question https://twitter.com/serpent849/status/1 ... 5482136576
"es: mijáilov - las 19 copas mundiales de fútbol: datos estadísticos y análisis desde el punto de vista de la cienciometría"
so 5 extra characters?
as i said, the first two times i tried, it didn't even get to the end of the tweet for the language tag and didn't register anything. then i posted it with the language tag in the beginning and it got registered as unknown. then i was able to edit it, but only if the closing quotation mark was within the 140 first characters of the tweet i guess? here are the tweets in question https://twitter.com/serpent849/status/1 ... 5482136576
0 x
- rdearman
- Site Admin
- Posts: 7259
- Joined: Thu May 14, 2015 4:18 pm
- Location: United Kingdom
- Languages: English (N)
- Language Log: viewtopic.php?f=15&t=1836
- x 23299
- Contact:
Re: HELP REQUEST FOR SC BOT
Serpent wrote:yes, here's the title:
"es: mijáilov - las 19 copas mundiales de fútbol: datos estadísticos y análisis desde el punto de vista de la cienciometría"
so 5 extra characters?
as i said, the first two times i tried, it didn't even get to the end of the tweet for the language tag and didn't register anything. then i posted it with the language tag in the beginning and it got registered as unknown. then i was able to edit it, but only if the closing quotation mark was within the 140 first characters of the tweet i guess? here are the tweets in question https://twitter.com/serpent849/status/1 ... 5482136576
I had a quick look at the DB. It is set to store strings in UTF-8 so actually number of characters isn't a problem. I think the problem is the PHP code which seems to truncate the string to 140 characters.
0 x
: 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.
My YouTube Channel
The Autodidactic Podcast
My Author's Newsletter
I post on this forum with mobile devices, so excuse short msgs and typos.
- zenmonkey
- Black Belt - 2nd Dan
- Posts: 2528
- Joined: Sun Jul 26, 2015 7:21 pm
- Location: California, Germany and France
- Languages: Spanish, English, French trilingual - German (B2/C1) on/off study: Persian, Hebrew, Tibetan, Setswana.
Some knowledge of Italian, Portuguese, Ladino, Yiddish ...
Want to tackle Tzotzil, Nahuatl - Language Log: viewtopic.php?f=15&t=859
- x 7032
- Contact:
Re: HELP REQUEST FOR SC BOT
rdearman wrote:Serpent wrote:yes, here's the title:
"es: mijáilov - las 19 copas mundiales de fútbol: datos estadísticos y análisis desde el punto de vista de la cienciometría"
so 5 extra characters?
as i said, the first two times i tried, it didn't even get to the end of the tweet for the language tag and didn't register anything. then i posted it with the language tag in the beginning and it got registered as unknown. then i was able to edit it, but only if the closing quotation mark was within the 140 first characters of the tweet i guess? here are the tweets in question https://twitter.com/serpent849/status/1 ... 5482136576
I had a quick look at the DB. It is set to store strings in UTF-8 so actually number of characters isn't a problem. I think the problem is the PHP code which seems to truncate the string to 140 characters.
It's not a parameter issue in the PHP code, just checked - probably need to update the twitteroauth library or the API ... (Just stick to 140 characters, it isn't worth the effort to do that.)
2 x
I am a leaf on the wind, watch how I soar
- 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 5181
- Contact:
Re: HELP REQUEST FOR SC BOT
@zenmonkey: can you check what went wrong with the streaks? (as i wrote above, the week seems to be counted from saturday instead of sunday or monday)
0 x
- zenmonkey
- Black Belt - 2nd Dan
- Posts: 2528
- Joined: Sun Jul 26, 2015 7:21 pm
- Location: California, Germany and France
- Languages: Spanish, English, French trilingual - German (B2/C1) on/off study: Persian, Hebrew, Tibetan, Setswana.
Some knowledge of Italian, Portuguese, Ladino, Yiddish ...
Want to tackle Tzotzil, Nahuatl - Language Log: viewtopic.php?f=15&t=859
- x 7032
- Contact:
Re: HELP REQUEST FOR SC BOT
Serpent wrote:@zenmonkey: can you check what went wrong with the streaks? (as i wrote above, the week seems to be counted from saturday instead of sunday or monday)
I can’t. I’d have to have access to the database and the tweets to “walk the data and code”. I only have a copy of the code on my machine. But it’s a fastidious process that would take a bit of analysis to review and more, to fix. Sorry.
1 x
I am a leaf on the wind, watch how I soar
- 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 5181
- Contact:
Re: HELP REQUEST FOR SC BOT
Seems like this is where the streaks are calculated? https://github.com/language-learners/su ... cipant.php
function getStreakData begins at row 273.
unfortunately i don't have the knowledge to tell what went wrong and why the week begins on Saturday (and how to make it count weeks starting from 1, not 0)
function getStreakData begins at row 273.
unfortunately i don't have the knowledge to tell what went wrong and why the week begins on Saturday (and how to make it count weeks starting from 1, not 0)
0 x
Return to “Technical Support and Feature Requests”
Who is online
Users browsing this forum: No registered users and 2 guests