|
NAMEFacebook::Graph::Publish::Checkin - Publish a location checkin.VERSIONversion 1.0801SYNOPSISmy $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; DESCRIPTIONThis 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. METHODSto ( 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"} LEGALFacebook::Graph is Copyright 2010 - 2012 Plain Black Corporation (<http://www.plainblack.com>) and is licensed under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |