File: constants.php

package info (click to toggle)
php-oauth 2.0.2%2B1.2.3-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 816 kB
  • sloc: ansic: 7,197; xml: 841; php: 536; makefile: 1
file content (19 lines) | stat: -rw-r--r-- 897 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

/* register your own at http://twitter.com/oauth_clients */
define("TWITTER_CONSUMER_KEY","6GeLhVhmE2Oyrjrh0H81Q");
define("TWITTER_CONSUMER_SECRET","WWoyqmAsRhvjK20KU0iUzK9D0YOjLcn8JpAPTUzfY");

/* API URL's */
define("TWITTER_OAUTH_HOST","https://twitter.com");
define("TWITTER_REQUEST_TOKEN_URL",TWITTER_OAUTH_HOST."/oauth/request_token");
define("TWITTER_AUTHORIZE_URL",TWITTER_OAUTH_HOST."/oauth/authorize");
define("TWITTER_ACCESS_TOKEN_URL",TWITTER_OAUTH_HOST."/oauth/access_token");
define("TWITTER_PUBLIC_TIMELINE_API",TWITTER_OAUTH_HOST."/statuses/public_timeline.json");
define("TWITTER_UPDATE_STATUS_API",TWITTER_OAUTH_HOST."/statuses/update.json");

define("TWITTER_UPDATE_PROFILE_BG_API", "http://api.twitter.com/1/account/update_profile_background_image.json");

define('OAUTH_TMP_DIR', function_exists('sys_get_temp_dir') ? sys_get_temp_dir() : realpath($_ENV["TMP"]));

?>