The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::Facebook::FQL::Simple - Simple interface for making FQL requests.

VERSION

version 0.03

SYNOPSIS

    use WWW::Facebook::FQL::Simple;

    WWW::Facebook::FQL::Simple->query({
        query => 'SELECT like_count FROM link_stat WHERE url="http://twitter.com"'
    });

DESCRIPTION

A no nonesense, dead simple interface for making FQL requests. This module does not handle sessions or authentication so presumably some requests will not work.

If your needs are more complex, you probably need WWW::Facebook::API or WWW::Facebook::FQL.

METHODS

query

    WWW::Facebook::FQL::Simple->query({
        query => 'SELECT like_count FROM link_stat WHERE url="http://twitter.com"'
    });

Returns a hash reference of the JSON returned from the API.

SEE ALSO

Facebook, WWW::Facebook::API, WWW::Facebook::FQL

AUTHOR

Adam Taylor <ajct@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Adam Taylor.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.