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
Facebook::Graph::Publish::Checkin(3) User Contributed Perl Documentation Facebook::Graph::Publish::Checkin(3)

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

version 1.0801

 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;

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

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

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

Sets the text to post to the wall.

message

A string of text.

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.

Sets the coords of your location. See also "set_longitude"

coord

The decimal latitude of your current location.

Sets the coords of your location. See also "set_latitude"

coord

The decimal longitude of your current location.

Sets the list of users at the location.

list

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

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

 {"id":"1647395831_130068550371568"}

Facebook::Graph is Copyright 2010 - 2012 Plain Black Corporation (<http://www.plainblack.com>) and is licensed under the same terms as Perl itself.
2014-09-08 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.