mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
place/archetype.gen: new save log immediately flag to save() after logAppend(): - in place/name.c: define SAVE_LOG_IMMEDIATELY - in local.h: define _flag_save_place_log_immediately define _flag_save_userthreads_immediately place/text: added x()
25 lines
790 B
C
25 lines
790 B
C
/* identi.ca client, uses the twitter api
|
|
* http://status.net/wiki/Twitter-compatible_API
|
|
*
|
|
* - register app @ https://identi.ca/settings/oauthapps
|
|
* - then in local.h #define IDENTICA_KEY & IDENTICA_SECRET
|
|
*/
|
|
|
|
#include <net.h>
|
|
|
|
inherit NET_PATH "twitter/client";
|
|
|
|
object load(object usr, string key, string secret, string request, string access, string authorize) {
|
|
name = "identica";
|
|
display_name = "identi.ca";
|
|
api_base_url = "http://identi.ca/api";
|
|
|
|
consumer_key = IDENTICA_KEY;
|
|
consumer_secret = IDENTICA_SECRET;
|
|
request_token_url = api_base_url + "/oauth/request_token";
|
|
access_token_url = api_base_url + "/oauth/access_token";
|
|
authorize_url = api_base_url + "/oauth/authorize";
|
|
|
|
return ::load(usr, key, secret, request, access, authorize);
|
|
}
|