changed urls

This commit is contained in:
Jeena Paradies 2011-06-03 20:52:40 +02:00
parent 1f506c5778
commit 88a37477fe
3 changed files with 26 additions and 5 deletions

View file

@ -14,6 +14,10 @@
}
#ifdef USE_TWITTER
#define API_URL @"http://api.twitter.com/1/"
#define OAUTH_CONSUMER_KEY @"JPmU8KJhiBKfpohCiWLg"
#define OAUTH_CONSUMER_SECRET @"jtfSrnDrRcUnL1nqTMcAW0055m63EMClmkxhiBjQ"
#define OAUTH_SIGNATURE_METHOD @"HMAC-SHA1"
@ -22,6 +26,19 @@
#define OAUTH_ACCESS_TOKEN_URL @"http://twitter.com/oauth/access_token"
#define OAUTH_SERVICE_NAME @"twitter.com"
#else
#define API_URL @"http://identi.ca/api/"
#define OAUTH_CONSUMER_KEY @"76cb48ce4c65a9c760078b60aa9ce18f"
#define OAUTH_CONSUMER_SECRET @"519f5624b2024983369371b2ba389591"
#define OAUTH_SIGNATURE_METHOD @"HMAC-SHA1"
#define OAUTH_REQUEST_TOKEN_URL @"http://identi.ca/api/oauth/request_token"
#define OAUTH_USER_AUTHORIZATION_URL @"http://identi.ca/api/oauth/authorize"
#define OAUTH_ACCESS_TOKEN_URL @"http://identi.ca/api/oauth/access_token"
#define OAUTH_SERVICE_NAME @"identi.ca"
#endif
#define APP_NAME @"Twittia"
#define TWEET_MAX_LENGTH 140