WWW::F...cations(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::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 🌟


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