-
Notifications
You must be signed in to change notification settings - Fork 17
/
EZsettings.php
25 lines (22 loc) · 1.26 KB
/
EZsettings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
// change these values to your own in order to use EZAppDotNet
$app_clientId = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
$app_clientSecret = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
// this must be one of the URLs defined in your App.net application settings
$app_redirectUri = 'http://localhost/ez-example/callback.php';
// An array of permissions you're requesting from the user.
// As a general rule you should only request permissions you need for your app.
// By default all permissions are commented out, meaning you'll have access
// to their basic profile only. Uncomment the ones you need.
$app_scope = array(
// 'basic', // See basic user info (default, required: may be given if not specified)
// 'stream', // Read the user's personalized stream
// 'email', // Access the user's email address
// 'write_post', // Post on behalf of the user
// 'follow', // Follow and unfollow other users
// 'public_messages', // Send and receive public messages as this user
// 'messages', // Send and receive public and private messages as this user
// 'update_profile', // Update a user’s name, images, and other profile information
// 'files', // Manage a user’s files. This is not needed for uploading files.
// 'export', // Export all user data (shows a warning)
);