WWW::F...cations(3pm)
π WWW::Facebook::API::Notifications π
okay bestie, so this is the manual page for WWW::Facebook::API::Notifications β part of the User Contributed Perl Documentation, and it's the lil module that handles Facebook Notifications. yes, that Facebook. we're going back in time and it's giving 2010 nostalgia β¨
πΈ NAME πΈ
WWW::Facebook::API::Notifications β Facebook Notifications, no cap π
π¦ SYNOPSIS π¦
use WWW::Facebook::API;
that's literally it, that's the whole vibe check π«Ά
β¨ DESCRIPTION β¨
Methods for accessing notification information with WWW::Facebook::API. that's the whole deal, bestie β it's the notifications department of the API, clocking in for its shift π
π SUBROUTINES/METHODS π
base
Returns the WWW::Facebook::API base object. like, the main character that this whole lil module is attached to π
new Constructor.
it makes a new one. iconic behavior, honestly π§
get()
The notifications.get method of the Facebook API:
$response = $client->notifications->get;
just go grab those notifs, periodt π
send( to_ids => [ @uids ], notification => $fbml_markup )
The notifications.send method of the Facebook API:
$response = $client->notifications->send(
to_ids => [1],
notification => 'notifications page FBML',
);
sending notifs out into the world π note the args: to_ids is an arrayref of @uids, and notification is your $fbml_markup. FBML. we love a throwback π₯
send_email( %params )
The notifications.sendEmail method of the Facebook API:
$response = $client->notifications->send_email(
recipients => [1, 2343, 445],
subject => 'subject',
text => 'text version of email body',
fbml => 'fbml version of email body',
);
emails but make it Facebook π you're passing a whole %params hash in there, and look at all the lil keys doing their thing: recipients, subject, text, fbml. slay π
get_list( %params )
The notifications.getList method of the Facebook API:
$response = $client->notifications->get_list();
getting the list, as one does π
mark_read( %params )
The notifications.markRead method of the Facebook API:
$response = $client->notifications->mark_read(
notification_ids => [@notification_ids],
);
marking them as read so the lil badge goes away π you hand it notification_ids as an arrayref. bye unread notifs, we won't miss you π«Ά
π DIAGNOSTICS π
None. nothing. silence. the drama is that there is no drama π
π§ CONFIGURATION AND ENVIRONMENT π§
WWW::Facebook::API::Notifications requires no configuration files or environment variables. zero setup, zero stress, we love a low-maintenance queen π
π DEPENDENCIES π
See WWW::Facebook::API. go check the main page bestie, that's where the lore is π
πΈ INCOMPATIBILITIES πΈ
None reported. no beef, no drama, we're all getting along β¨
π₯ BUGS AND LIMITATIONS π₯
No bugs have been reported. (allegedly. iconic if true π )
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>.
fr fr, if something's broken, tell the maintainers β don't just suffer in silence bestie π
π AUTHOR π
David Romano "<unobe@cpan.org>" β the legend, the icon, the moment π
π 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. free as in freedom, free as in slay π
π DISCLAIMER OF WARRANTY π
okay this next part is in ALL CAPS in the original and that's because it's Serious Business, so buckle up bestie, we're keeping every word of it:
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.
so basically: no warranty, you break it you bought it, be careful out there π«Ά
and that's the whole page bestie, we made it to the end π this one was rendered with perl v5.34.0, dated 2022-06-28, and it's the WWW::F...cations(3pm) page from your friendly neighborhood Perl docs. mwah, go ship something cute πβ¨
π¦ 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