Etherlord интересуется
17 years ago
А можно в Плюрк постить сообщения через какой-нибудь URL? Просто хочу сделать автоматическое добавление плюрка после того, как будет доба
latest #35
Etherlord
17 years ago
влен пост у меня на сайте.
Etherlord
17 years ago
Да, только надо учитывать, что в этом случае используются cookie из броузера, а планирую запускать через cron, у коготорого этого нет.
Начик
17 years ago
:-D
立即下載
Начик
17 years ago
если у вас пароль, без проблем
Etherlord
17 years ago
nachik И как же, расскажи?
Начик
17 years ago
sorry but typing in Russian in my kb is hard :-) you need to find out your uid and then you need to use this plurkwiki.badchemicals.n...
Начик
17 years ago
except you also need to send user_id=uid (number)
Начик
17 years ago
you don't need to be logged in if your profile is not private, don't need any cookie either
Начик
17 years ago
this is not updated by looking here is much easier
Начик
17 years ago
if you have php5 installed it's trivial, just tell me what do you want to do (in Russian if you want)
Etherlord
17 years ago
nachik There is plugin for Wordpress, which use cron. It can make requests to URL. I want to use this one. As I know, php version at my
Etherlord
17 years ago
hosting is below 5. I'll look at plurk api.
Начик
17 years ago
togda nado modifitsirovat' nemnogo
Начик
17 years ago
esli tol'ko "addPlurk", legko
Etherlord
17 years ago
nachik But as I understand, I can use only GET request, not POST. Is it make situation more difficult?
Начик
17 years ago
the script running in my site uses GET and it works
Начик
17 years ago
the developers said GET was capped, but it's not true, you only have to find out the user_id now, which you can do several ways
Начик
17 years ago
but if it's only 1 user, then even that is not needed
Начик
17 years ago
you can see your id for instance in the widget code, without even doing a request
Etherlord
17 years ago
How can I know my id?
Начик
17 years ago
one easy way: go to your profile and look in the code of your widget
Начик
17 years ago
but I can tell you if you want in a private plurk :-P
Etherlord
17 years ago
nachik O, I find special plugin for my needs. I'll try it and if it don't work, I'll try your method.
Начик
17 years ago
sent you your id anyway
Etherlord
17 years ago
Shit this method don't work. Okey, I know my id, what is next?
Начик
17 years ago
I think your best bet is to adapt the little part of the unofficial API you need to PHP4
Начик
17 years ago
you need only login and addPlurk
Начик
17 years ago
but with wget or lynx, you can do it from the command line with GETs as well
Начик
17 years ago
I have to sleep now, we can continue tomorrow
Начик
17 years ago
do zavtra (s_bye)
Etherlord
17 years ago
nachik I think it is better continue tomorrow)
back to top