-
Notifications
You must be signed in to change notification settings - Fork 296
/
Copy pathttwitter.php
21 lines (17 loc) · 913 Bytes
/
ttwitter.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
// You can find the keys here : https://apps.twitter.com/
return [
'debug' => false,
'API_URL' => 'api.twitter.com',
'UPLOAD_URL' => 'upload.twitter.com',
'API_VERSION' => '1.1',
'AUTHENTICATE_URL' => 'https://api.twitter.com/oauth/authenticate',
'AUTHORIZE_URL' => 'https://api.twitter.com/oauth/authorize',
'ACCESS_TOKEN_URL' => 'https://api.twitter.com/oauth/access_token',
'REQUEST_TOKEN_URL' => 'https://api.twitter.com/oauth/request_token',
'USE_SSL' => true,
'CONSUMER_KEY' => function_exists('env') ? env('TWITTER_API_KEY', '') : '',
'CONSUMER_SECRET' => function_exists('env') ? env('TWITTER_APP_SECRET', '') : '',
'ACCESS_TOKEN' => function_exists('env') ? env('TWITTER_ACCESS_TOKEN', '') : '',
'ACCESS_TOKEN_SECRET' => function_exists('env') ? env('TWITTER_ACCESS_TOKEN_SECRET', '') : '',
];