The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Facebook::Graph::Publish::PageTab - Add a page tab.

VERSION

version 1.0801

SYNOPSIS

 my $fb = Facebook::Graph->new;

 $fb->add_page_tab($page_id, $app_id)->publish;

DESCRIPTION

This module gives you quick and easy access to publish an app as a page tab.

ATTENTION: You must have the manage_pages privilege to use this module.

METHODS

app_id ( id )

Specify an app id for the app to add as the page tab.

publish ( )

Posts the data and returns a Facebook::Graph::Response object. The response object should contain the id:

 {"id":"1647395831_130068550371568"}

LEGAL

Facebook::Graph is Copyright 2010 - 2012 Plain Black Corporation (http://www.plainblack.com) and is licensed under the same terms as Perl itself.