| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
####################################################################### |
|
2
|
|
|
|
|
|
|
# ex: set ts=8 sw=4 et |
|
3
|
|
|
|
|
|
|
######################################################################### |
|
4
|
|
|
|
|
|
|
package WWW::Facebook::API::Permissions; |
|
5
|
|
|
|
|
|
|
|
|
6
|
34
|
|
|
34
|
|
358
|
use warnings; |
|
|
34
|
|
|
|
|
73
|
|
|
|
34
|
|
|
|
|
4556
|
|
|
7
|
34
|
|
|
34
|
|
184
|
use strict; |
|
|
34
|
|
|
|
|
146
|
|
|
|
34
|
|
|
|
|
980
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
34
|
|
|
34
|
|
170
|
use Carp; |
|
|
34
|
|
|
|
|
66
|
|
|
|
34
|
|
|
|
|
9144
|
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub begin { |
|
12
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
|
13
|
0
|
|
|
|
|
0
|
shift; # get rid of hash key |
|
14
|
0
|
|
|
|
|
0
|
$self->base->call_as_api_key(shift); |
|
15
|
0
|
|
|
|
|
0
|
return; |
|
16
|
|
|
|
|
|
|
} |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub end { |
|
19
|
0
|
|
|
0
|
1
|
0
|
shift->base->call_as_api_key(q{}); |
|
20
|
0
|
|
|
|
|
0
|
return; |
|
21
|
|
|
|
|
|
|
} |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub grant_api_access { |
|
24
|
1
|
|
|
1
|
1
|
29
|
return shift->base->call( 'permissions.grantApiAccess', @_ ); |
|
25
|
|
|
|
|
|
|
} |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub check_available_api_access { |
|
28
|
1
|
|
|
1
|
1
|
31
|
return shift->base->call( 'permissions.checkAvailableApiAccess', @_ ); |
|
29
|
|
|
|
|
|
|
} |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub revoke_api_access { |
|
32
|
1
|
|
|
1
|
1
|
31
|
return shift->base->call( 'permissions.revokeApiAccess', @_ ); |
|
33
|
|
|
|
|
|
|
} |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub check_granted_api_access { |
|
36
|
1
|
|
|
1
|
1
|
33
|
return shift->base->call( 'permissions.checkGrantedApiAccess', @_ ); |
|
37
|
|
|
|
|
|
|
} |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
1; # Magic true value required at end of module |
|
40
|
|
|
|
|
|
|
__END__ |