Help for this page

Select Code to Download


  1. or download this
    sub deleteUser {
    # in: app access token, app id, FB userId to delete
    # deletes user using app access token
    ...
      my $post = hitFbNew2('post', $url , \%form);
      return ($post);
    }
    
  2. or download this
    sub hitFbNew {
      my ($method, $endpoint, $form) = (shift, shift, shift);
      my $curl = WWW::Curl::Easy->new;
    ...
      print "\nreply code is $reply{responseCode} and content is $reply{co
    +ntent}";
      return (\%reply);
    }