Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6915617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:29:51+00:00 2026-05-27T09:29:51+00:00

I am building an iOS app using Appcelerator and the build in Facebook API

  • 0

I am building an iOS app using Appcelerator and the build in Facebook API module. I need to find a way to publish checkin on the behalf of the user. The user must be able to checkin at at location and / or a specific FB page. Is this possible? I can publish status messages but I cannot add a location (place).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:29:52+00:00Added an answer on May 27, 2026 at 9:29 am

    It is possible – you need to use Facebook’s Graph API, which is accessible the Titanium.Facebook.requestWithGraphPath method. This blog post describes how this is done on iOS, but the workflow is the same – although the author says that Facebook’s API has changed recently, so YMMV – I couldn’t find any explicit documentation in Facebook’s developer resources.

    • To publish a checkin on behalf of the user, you need to have the “publish_checkins” extended permission granted to your app by the user
    • Get the latitude and longitude of your user’s device
    • Find a list of places near the user’s location by requesting them from the Graph API
    • Allow the user to pick a place
    • Send a POST request to the Facebook Graph API with path “me/checkins” containing the PlaceID, user coordinates, and optional tags (friend IDs) and a status message

    Here’s how you’d request the appropriate permission from the user:

    Titanium.Facebook.permissions = ['publish_checkins'];
    Titanium.Facebook.authorize();
    

    Here’s an example URL that you’d use (using Titanium.Network.createHTTPClient to make a GET request) to find a list of places

    https://graph.facebook.com/search?q=coffee&type=place&center=37.76,122.427&distance=1000

    Then list those places in a table view, and when the user taps one, you POST to create a checkin, assuming you have the ID of the place, and its coordinates, in appropriately named variables:

    var data = {
        place: placeID
        coordinates: {
            latitude: latitude,
            longitude: longitude
        }
        message: message,
        tags: [
            // tagged users (optional)
        ]
    };
    
    
    Titanium.Facebook.requestWithGraphPath('me/checkins', data, 'POST', function(e) {
        if (e.success) {
            alert("Success! Returned from FB: " + e.result);
        } else {
            if (e.error) {
                alert(e.error);
            } else {
                alert("Unknown result");
            }
        }
    });
    

    You may need to tweak the properties that you send to Facebook if the API has changed, but the general approach is correct.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im building a mobile app for android & ios using appcelerator. I've build a
Hi I am building a iOS app using Appcelerator, I have a file app.js
I'm trying to build iOS app using Microsoft EWS managed API. I've downloaded the
Building an app using the Facebook iOS SDK. When testing on the simulator, I
I'm building an iOS app with PhoneGap. I'm using translate3d CSS animations to create
I'm building an app using Phonegap and I'm using Urban Airship for iOS and
Currently I am building an app using phonegap for the Android and iOS systems.
I'm building a view in my iOS app with Xcode. I'm using the interfice
I'm building an IOS app using iCarousel ( http://cocoacontrols.com/platforms/ios/controls/icarousel ) I want to transform
I'm using ARC in an iOS app i'm building. I've created some objects, in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.