Provided by: libwww-facebook-api-perl_0.4.18-2_all
NAME
WWW::Facebook::API::Feed - Facebook Feeds
SYNOPSIS
use WWW::Facebook::API;
DESCRIPTION
Methods for accessing feeds with WWW::Facebook::API
SUBROUTINES/METHODS
base Returns the WWW::Facebook::API base object. new Constructor. publish_user_action( %params ) The feed.publishUserAction method of the Facebook API. "template_bundle_id" and "template_data" are the only parameters required. $client->feed->publish_user_action( template_bundle_id => 'id', template_data => 'JSON', body_general => 'markup', target_ids => [@array_of_ids], ); The format for "template_data" is described on the developer wiki: http://wiki.developers.facebook.com/index.php/Feed.publishUserAction register_template_bundle( %params ) The feed.registerTemplateBundle method of the Facebook API. "one_line_story_templates" is the only parameter required. $client->feed->register_template_bundle( one_line_story_templates => 'JSON', short_story_templates => 'JSON', full_story_template => 'JSON', ); The formats for "one_line_story_templates", "short_story_templates", "full_story_template" are described on the developer wiki: http://wiki.developers.facebook.com/index.php/Feed.registerTemplateBundle deactivate_template_bundle( %params ) The feed.deactivateTemplateBundleById method of the Facebook API. "template_bundle_id" is the only parameter required. $client->feed->deactivate_template_bundle( template_bundle_id => 'template_bundle_id' ); get_registered_template_bundle The combined feed.getRegisteredTemplateBundleByID and feed.getRegisteredTemplateBundles methods of the Facebook API. If the "template_bundle_id" parameter is present only that template bundle will be fetched. $client->feed->get_registered_template_bundle( template_bundle_id => 'template_bundle_id' ); publish_templatized_action( %params ) The feed.publishTemplatizedAction method of the Facebook API. "actor_id" and "title_template" are required parameters. $client->feed->publish_templatized_action( page_actor_id => 'page_id', title_template => 'markup', title_data => 'JSON', body_template => 'markup', body_general => 'markup', body_data => 'JSON', image_1 => 'image url', image_1_link => 'destination url', image_2 => 'image url', image_2_link => 'destination url', image_3 => 'image url', image_3_link => 'destination url', image_4 => 'image url', image_4_link => 'destination url', target_ids => [@array_of_ids], );
DIAGNOSTICS
None.
CONFIGURATION AND ENVIRONMENT
WWW::Facebook::API::Feed requires no configuration files or environment variables.
DEPENDENCIES
See WWW::Facebook::API
INCOMPATIBILITIES
None reported.
BUGS AND LIMITATIONS
No bugs have been reported. 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>"
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
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.