1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

oauth: parse get params from query string

This commit is contained in:
Gabor Adam Toth 2010-02-23 19:43:26 +01:00
parent 1b4463b2a4
commit 7d715092c1
2 changed files with 9 additions and 6 deletions

View file

@ -33,7 +33,7 @@ void status_update(string text) {
object ua = clone_object(NET_PATH "http/fetch");
ua->content(#'parse_status_update, 1, 1); //');
fetch(ua, "http://api.twitter.com/1/statuses/update.json", "POST", 0, (["status": text]));
fetch(ua, "http://api.twitter.com/1/statuses/update.json", "POST", (["status": text]));
}
void parse_home_timeline(string body, string headers) {