WWW::F...Profile(3pm)
π WWW::Facebook::API::Profile π
okay bestie, so this is a page from the User Contributed Perl Documentation collection β it's WWW::F...Profile(3pm), aka WWW::Facebook::API::Profile, and it's literally the module that handles Facebook Profile stuff. pull up a chair, we're doing this together π«Ά
β¨ NAME β¨
WWW::Facebook::API::Profile β Facebook Profile. that's it, that's the name, she's simple and she knows it π
πΈ SYNOPSIS πΈ
use WWW::Facebook::API;
that's the whole vibe check right there. you pull in the parent module and the profile methods come along for the ride π¦
π DESCRIPTION π
Methods for accessing profiles with WWW::Facebook::API. no cap, that's the job β it's the profile-accessing lil corner of the bigger WWW::Facebook::API situation β¨
π SUBROUTINES/METHODS π
base
Returns the WWW::Facebook::API base object. like, it hands you the main character so you can go do main character things π
new
Constructor. the classic. every module's origin story π
get_fbml( uid => $single_uid )
This is the profile.getFBML method of the Facebook API. you hand it one uid and it goes and gets the FBML, periodt β¨
set_fbml( profile => $fbml_markup, uid => $single_uid, ... )
The profile.setFBML method of the Facebook API. drop in your profile markup and a uid (and there's a ... there too, so like, there's more where that came from π) π
get_info( %params )
The profile.getInfo method of the Facebook API. heads up bestie: uid is the only required parameter β everything else is optional, she's low maintenance like that π
$client->profile->get_info( uid => 'user_id' );
get_info_options( %params )
The profile.getInfoOptions method of the Facebook API. for this one, field is the only required parameter π
$client->profile->get_info_options( field => 'field_title' );
set_info( %params )
The profile.setInfo method of the Facebook API. β οΈ All parameters are required. no skipping, no shortcuts, we do the whole list π«Ά
$client->profile->set_info(
title => 'title',
type => '1|5',
info_fields => 'JSON',
uid => 'user_id',
);
and if you're like "what even goes in info_fields??" β the format for info_fields is described on the developer wiki: http://wiki.developers.facebook.com/index.php/Profile.setInfo
set_info_options( %params )
The profile.setInfoOptions method of the Facebook API. the field and options parameters are required β both of them, together, bestie duo energy π
$client->profile->set_info_options(
field => 'field_title',
options => 'JSON',
);
and same deal as before: the format for options is described on the developer wiki: http://wiki.developers.facebook.com/index.php/Profile.setInfoOptions
π₯ DIAGNOSTICS π₯
None. nothing. silence. the calmest module in the group chat π
π CONFIGURATION AND ENVIRONMENT π
WWW::Facebook::API::Profile requires no configuration files or environment variables. zero setup, plug and play, iconic behaviour honestly β¨
π¦ DEPENDENCIES π¦
See WWW::Facebook::API. she does not travel alone, she has her people π
π INCOMPATIBILITIES π
None reported. no drama on the timeline π
π BUGS AND LIMITATIONS π
No bugs have been reported. (we love a clean record, no notes π )
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.
β AUTHOR β
David Romano <unobe@cpan.org> β shoutout to the author, absolute legend for writing this down for us π
π§ 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 π
bestie this next part is in ALL CAPS because it's legally required to be, not because I'm yelling at you. read it, it matters π«Ά
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, babe πΈ this version came to you courtesy of perl v5.34.0, dated 2022-06-28 β that's the footer, that's the timestamp, that's the send-off. stay hydrated, read your manpages, 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