Joomla 4. Компонент K2 и форк K2ForJ4 (18 янв 2024)

Если вас, как и меня, достало выслушивать (вычитывать) бесконечные обещания разработчика K2 опубликовать версию компонента K2 под Joomla 4 (без чего невозможно реализовать апгрейд from Joomla 3 to Joomla 4) - воспользуйтесь форком K2ForJ4. Который в данный момент установлен и без каких-либо проблем работает на этом веб-сайте.

It's a Mad, Mad, Mad, Mad Twitter

Больше
6 года 1 мес. назад - 6 года 1 мес. назад #1 от Aleksej
Aleksej создал тему: It's a Mad, Mad, Mad, Mad Twitter
Colleagues, I would like to ask for your advice.
I'm experimenting with Twitter API in a paradigm rails-app. Scheme of the application:
  1. get all the followers in array
  2. get all friends in array
  3. compare the two arrays and get lists of accounts for Follow and Unfollow





Much is unclear to me. For example.
Take a look, please. At the level of Twitter, these requests, probably, require the same resources:

Code:
client.follow("sferik") client.unfollow("sferik")

Unfollowing works without problems:



But for Follow I have to take a rescue for the application (Twitter::Error::TooManyRequests) every 10 to 15 minutes:




Sometimes Follow does not work at all (this can last a day or more), and the log looks like this:

Code:
rescue Twitter::Error 2018-02-15 21:31:39 +0300 rescue Twitter::Error 2018-02-15 21:46:52 +0300 rescue Twitter::Error 2018-02-15 22:01:12 +0300

I do not understand the algorithms of limits of Twitter. I think the rules are more complicated than described . Does Twitter try to prohibit following? I'm sorry, I do not understand. Any ideas?
А по-русски - здесь .
Последнее редактирование: 6 года 1 мес. назад пользователем Aleksej.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Dev banner 1
Работает на Kunena форум