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::PUBLISH::CHECKIN (3)

.ds Aq ’

NAME

Facebook::Graph::Publish::Checkin - Publish a location checkin.

CONTENTS

VERSION

version 1.0801

SYNOPSIS



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

 $fb->add_checkin
    ->set_place(222047056390)
    ->publish;

 my $response = $fb->add_checkin
    ->set_place(222047056390)
    ->set_message(Mmm...pizza.)
    ->set_tags([qw(sarah.bownds 1647395831)])
    ->set_latitude()
    ->set_longitude()
    ->publish;



DESCRIPTION

This module gives you quick and easy access to publish user checkins to locations.

<B>ATTENTION:B> You must have the user_checkins privilege to use this module, and friends_checkins to get friends checkins.

METHODS

    to ( id )

Specify a profile id to post to. Defaults to ’me’, which is the currently logged in user.

    set_message ( message )

Sets the text to post to the wall.

message

A string of text.

    set_place ( id )

Sets the id of the place you are checking in to.

id

The id of a page for a place. For example 222047056390 is the id of Pete’s Pizza and Pub in Milwaukee, WI.

    set_latitude ( coord )

Sets the coords of your location. See also set_longitude

coord

The decimal latitude of your current location.

    set_longitude ( coord )

Sets the coords of your location. See also set_latitude

coord

The decimal longitude of your current location.

    set_tags ( list )

Sets the list of users at the location.

list

An array reference of Facebook user ids that are currently at this location with you.

    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.
Search for    or go to Top of page |  Section 3 |  Main Index


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

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