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


Manual Reference Pages  -  FACEBOOK::GRAPH::PICTURE (3)

.ds Aq ’

NAME

Facebook::Graph::Picture - Get the URI for the picture of any object.

CONTENTS

VERSION

version 1.0801

SYNOPSIS



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

 my $default_picture =  $fb->picture(16665510298)->uri_as_string;
 my $large_picture = $fb->picture(16665510298)->get_large->uri_as_string;
 my $small_picture = $fb->picture(16665510298)->get_small->uri_as_string;
 my $square_picture = $fb->picture(16665510298)->get_square->uri_as_string;



DESCRIPTION

This module allows you to generate the URL needed to fetch a picture for any object on Facebook.

METHODS

    get_large ( id )

Get a large picture. 200 pixels wide by a variable height.

id

The unique id or object name of an object.

<B>Example:B> For user Sarah Bownds you could use either her profile id sarahbownds or her object id 767598108.

    get_small ( id )

Get a small picture. 50 pixels wide by a variable height.

id

The unique id or object name of an object.

<B>Example:B> For user Sarah Bownds you could use either her profile id sarahbownds or her object id 767598108.

    get_square ( id )

Get a square picture. 50 pixels wide by 50 pixels tall.

id

The unique id or object name of an object.

<B>Example:B> For user Sarah Bownds you could use either her profile id sarahbownds or her object id 767598108.

    uri_as_string ()

Returns a URI string based upon all the methods you’ve called so far on the query. You can throw the resulting URI right into an <img> tag.

LEGAL

Facebook::Graph is Copyright 2010 - 2012 Plain Black Corporation (<http://www.plainblack.com>) and is licensed under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 FACEBOOK::GRAPH::PICTURE (3) 2014-09-08

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