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

πŸ’– NAME πŸ’–

WWW::Facebook::API::Stream β€” bestie, it's the Facebook Stream module. That's the whole name, no notes, periodt. πŸ¦‹


✨ SYNOPSIS ✨

Like, the entire vibe check is literally one line. Iconic, honestly:

use WWW::Facebook::API;

That's it. That's the synopsis. She's low maintenance. πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

Okay so real talk: this module is your little toolbox of methods for accessing stream with WWW::Facebook::API. It doesn't do the whole Facebook thing by itself β€” it's the stream-flavored slice of the bigger pie, and it plugs right in. πŸ“


πŸ’… SUBROUTINES/METHODS πŸ’…

base

Returns the WWW::Facebook::API base object. It's giving "let me introduce you to my parent." 🫢

new

Constructor. Make a new one. That's the tweet. ✨

add_comment( %params )

The stream.add_comment method of the Facebook API. You want to say something under a post? Say it here:

$client->stream->add_comment(
    uid           => $uid,
);

add_like( %params )

The stream.add_like method of the Facebook API. Double-tap energy, but make it a hash. 😭

$client->stream->add_like(
    uid        => $uid,
    post_id    => $post_id,
);

get( %params )

The stream.get method of the Facebook API. Pull the feed, bestie:

$client->stream->get(
    viewer_id    => id,
    source_ids   => [@source_ids],
);

get_comments( %params )

The stream.get_comments method of the Facebook API. All the replies, in one place:

$client->stream->get_comments(
    post_id    => $number,
);

get_filters( %params )

The stream.getFilters method of the Facebook API. Yes, getFilters with the camelCase β€” we do not question the Facebook API's naming choices, we simply respect them. πŸ™ˆ

$client->stream->get_filters(
    uid         => $uid,
    session_key => $key,
);

publish( %params )

The stream.publish method of the Facebook API. Main character posting moment, fr fr:

$client->stream->publish(
    message      => $message,
    attachment   => $json,
    action_links => [@links],
);

remove( %params )

The stream.remove method of the Facebook API. Posting regret is real and this is your undo button:

$client->stream->remove(
    post_id      => $post_id,
);

remove_comment( %params )

The stream.removeComment method of the Facebook API. Deleting a comment before anyone screenshots it. Slay.

$client->stream->remove_comment(
    comment_id      => $comment_id,
);

remove_like( %params )

The stream.removeLike method of the Facebook API. Un-liking. The un-double-tap. The "actually, no." πŸ’€

$client->stream->remove_like(
    post_id      => $post_id,
);

🌸 DIAGNOSTICS 🌸

None. Nothing. Zero. Not a single dramatic error message to be found. 😌


πŸŽ€ CONFIGURATION AND ENVIRONMENT πŸŽ€

WWW::Facebook::API::Stream requires no configuration files and no environment variables. Plug and play, no setup arc, we love a low-effort queen. ✨


⭐ DEPENDENCIES ⭐

See WWW::Facebook::API. Go check on her, she's the one doing the heavy lifting. 🫢


πŸ’€ INCOMPATIBILITIES πŸ’€

None reported. Nobody has come forward. We're choosing peace. πŸ•ŠοΈ


πŸ”₯ BUGS AND LIMITATIONS πŸ”₯

No bugs have been reported. (Not me being suspicious of a bug-free module... ngl, iconic behavior.) πŸ‘‘

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>.

Bestie, that email address is bug-www-facebook-api@rt.cpan.org β€” copy it exactly, don't freestyle it. πŸ’–

πŸ‘‘ AUTHORS πŸ‘‘

  • Herman Polloni <hpolloni@gmail.com>
  • David Romano <unobe@cpan.org>

Two legends. Credit where credit is due, always. 🌟


Copyright (c) 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 so this part is the serious part and I need you to actually read it, bestie, no skipping. πŸ’œ

Because this software is licensed free of charge, there is no warranty for it, 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, whether 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. And if the software turns out to be defective, you assume the cost of all necessary servicing, repair, or correction. No take-backs, no refunds, no vibes-based exceptions. 😭

And 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 yeah. Fr fr. Read the disclaimer. That's the vibe check. 🧚

This little beauty is documented as WWW::Facebook::API::Stream, a Perl man page (that 3pm section life πŸ’…), generated from perl v5.34.0 and dated 2022-06-28. Mwah. Go forth and stream. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from