-
facebook.html
241 242 4 4 close(); 5 5 //--> 6 6 </script> 7 %#<pre><% Dumper($fb_connect) %></pre> 8 %#<a href="<% $auth_url->as_string %>"><% $auth_url->as_string %></a> 9 %#<pre><% Dumper($session) %></pre> 10 7 <%doc> 11 8 12 9 Manual redirect: … … 27 24 <%init> 28 25 29 26 my $fb_connect = session::AUTH::FaceBook->new(); 30 my $auth_url = $fb_connect->fb_authorize_url( state => $state ); 27 my $auth_url = $fb_connect->authorize_url( state => $state ); 31 28 if ( $code ) { 32 29 my $local_session = $fb_connect->authenticate( code => $code, state => $state ); 33 30 if ( ref $local_session && exists $local_session->{id} ) {