GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
WWW::Facebook::API::Feed(3) User Contributed Perl Documentation WWW::Facebook::API::Feed(3)

WWW::Facebook::API::Feed - Facebook Feeds

    use WWW::Facebook::API;

Methods for accessing feeds with WWW::Facebook::API

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],
    );
    

None.

WWW::Facebook::API::Feed requires no configuration files or environment variables.

See WWW::Facebook::API

None reported.

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

David Romano "<unobe@cpan.org>"

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.

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.

2010-03-13 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.