mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
change load params for identica too
This commit is contained in:
parent
c9b3d242a3
commit
e440532c58
2 changed files with 5 additions and 3 deletions
|
@ -28,6 +28,8 @@ persistent mixed lastid;
|
|||
|
||||
volatile string api_url = "https://api.twitter.com/1";
|
||||
volatile string userstream_url = "https://userstream.twitter.com/2";
|
||||
volatile string name = "twitter";
|
||||
volatile string display_name = "twitter";
|
||||
|
||||
volatile int status_max_len = 140;
|
||||
volatile int send_to_user = 0;
|
||||
|
@ -72,7 +74,7 @@ object load(object usr, mapping opts) {
|
|||
void check_status_update(string body, string headers, int http_status) {
|
||||
P3(("twitter/client:parse_status_update(%O, %O, %O)\n", body, headers, http_status))
|
||||
if (http_status != R_OK)
|
||||
sendmsg(user, "_failure_update_twitter", "Unable to post status update on twitter.");
|
||||
sendmsg(user, "_failure_update_"+ name, "Unable to post status update on [_name].", (["_name": display_name]));
|
||||
}
|
||||
|
||||
void status_update(string text) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue