WWW::F...::Pages(3pm)
π WWW::F...::Pages(3pm) π
okay so bestie, you clicked into the User Contributed Perl Documentation and landed on WWW::F...::Pages(3pm) β yes the title is literally abbreviated like that, don't @ me, that's just how the man page header rolls. anyway it's the whole scoop on Facebook Pages info, and I'm gonna walk you through every single line. grab a boba. π§β¨
πΈ NAME πΈ
WWW::Facebook::API::Pages β Facebook Pages Info π
that's it. that's the name. short, sweet, iconic.
β¨ SYNOPSIS β¨
the vibe check, in one line:
use WWW::Facebook::API;
boom. that's how you get in. π¦
π DESCRIPTION π
these are the Methods for accessing messages with WWW::Facebook::API. fr fr, that's the whole description. it's giving "minimalist queen" and honestly? we love that for it.
π SUBROUTINES/METHODS π
here's the main character section, bestie. every method, no skips, no cuts. π
base
Returns the WWW::Facebook::API base object. like, it hands you the parent object so you can go do stuff with it. simple as. π
new
Constructor. that's the whole note. it makes a new one. slay. β¨
get_info( %params )
this is The pages.getInfo method of the Facebook API:
$response = $client->pages->get_info(
page_ids => [@pages],
fields => [@fields],
uid => 'user',
type => 'page type',
);
look at those params: page_ids, fields, uid, and type. all of them, exactly like that. π
is_app_added( page_id => 'page' )
this is The pages.isAppAdded method of the Facebook API:
$page_added_app = $client->pages->is_app_added( page_id => 'page' );
you pass it a page_id, you get back whether the app is added. periodt. π«Ά
is_admin( page_id => 'page' )
this is The pages.isAdmin method of the Facebook API:
$is_admin = $client->pages->is_admin( page_id => 'page' );
asking the big question: are you admin of this page? π
is_fan( page_id => 'page', uid => 'user' )
this is The pages.isFan method of the Facebook API:
$is_fan = $client->pages->is_fan( page_id => 'page', uid => 'uid' )
it takes a page_id and a uid, and tells you if that user is a fan. (note the example above has no trailing semicolon β that's exactly how the original has it, so I'm keeping it character-for-character. iykyk π)
π₯ DIAGNOSTICS π₯
None.
like... zero. nothing. not a single diagnostic. π
π CONFIGURATION AND ENVIRONMENT π
WWW::Facebook::API::Pages requires no configuration files and no environment variables. you literally just install it and go. no cap. β¨
π DEPENDENCIES π
See WWW::Facebook::API. that's the one. go look at it. π
π¦ INCOMPATIBILITIES π¦
None reported. she plays nice with everyone. π«Ά
π BUGS AND LIMITATIONS π
No bugs have been reported.
but bestie, if you find one (or you just want a new feature), please report any bugs or feature requests to bug-www-facebook-api@rt.cpan.org, or through the web interface at http://rt.cpan.org. do it. the maintainers wanna hear from you. πΈ
β AUTHOR β
David Romano "<unobe@cpan.org>" β absolute legend, wrote the whole thing. π
π LICENSE AND COPYRIGHT π
Copyright (c) 2007-2010, David Romano "<unobe@cpan.org>". All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. π
β οΈ DISCLAIMER OF WARRANTY β οΈ
okay bestie, this next part is the legal fine print and it is ALL CAPS ON PURPOSE, so I'm giving it to you exactly as written. don't skip it, it's important:
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
and that's the whole page, bestie!! this little time capsule was baked by perl v5.34.0 and stamped 2022-06-28 β so yeah, it's vintage, and vintage is always in. πβ¨ take care of her, and go forth and query some pages. mwah. π
π
π¦ where this page comes from
- debian bookworm: libwww-facebook-api-perl 0.4.18-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libwww-facebook-api-perl 0.4.18-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libwww-facebook-api-perl 0.4.18-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libwww-facebook-api-perl 0.4.18-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libwww-facebook-api-perl 0.4.18-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms