WWW::F...Profile(3pm)

πŸ“¦
version 0.4.18 Β· 2 versions
  • 0.4.18 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.4.18 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 πŸ‘‘


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