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 4547644
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T16:07:14+00:00 2026-05-21T16:07:14+00:00

Does anyone know about Facebook checkins with the Facebook iOS SDK? I have made

  • 0

Does anyone know about Facebook checkins with the Facebook iOS SDK?

I have made an application using Facebook Graph API and now I want to add the capability to checkin to it. How would I do this?

I have tried the following code but it returns nil.

FbGraphResponse *fb_graph_response = [fbGraph doGraphGet:@"me/checkins" withGetVars:nil];

//my doTheGraph method

    - (FbGraphResponse *)doGraphGet:(NSString *)action withGetVars:(NSDictionary *)get_vars {

NSString *url_string = [NSString stringWithFormat:@"https://graph.facebook.com/%@?", action];

//tack on any get vars we have...
if ( (get_vars != nil) && ([get_vars count] > 0) ) {

    NSEnumerator *enumerator = [get_vars keyEnumerator];
    NSString *key;
    NSString *value;
    while ((key = (NSString *)[enumerator nextObject])) {

        value = (NSString *)[get_vars objectForKey:key];
        url_string = [NSString stringWithFormat:@"%@%@=%@&", url_string, key, value];

    }//end while    
}//end if

if (accessToken != nil) {
    //now that any variables have been appended, let's attach the access token....
    url_string = [NSString stringWithFormat:@"%@access_token=%@", url_string, self.accessToken];
}

//encode the string
url_string = [url_string stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];

return [self doGraphGetWithUrlString:url_string];

}

  • 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-21T16:07:14+00:00Added an answer on May 21, 2026 at 4:07 pm

    This isn’t a great answer, but needs to be noticed. The project linked in your comment to mine under your question is no longer supported or maintained:

    NOTE!!: this project is no longer maintained. The official Facebook/iOS SDK can be found here: https://github.com/facebook/facebook-iphone-sdk This project is an open source Objective-C (iPhone/iPad) library for communciating with the Facebook Graph API

    That is why I didn’t recognize your code, it isn’t the Official Facebook iOS SDK.

    I strongly encourage you to switch to the up-to-date, and more importantly, maintained project as soon as possible.

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

Sidebar

Related Questions

Does anyone know any good tutorial about using NAnt for native code build process
Does anyone know a good online resource about using SQL Server 2005 dependency cache
Does anyone know about an ORM or something similar for Delphi Win32.
Does anyone know much about the Asp.Net webconfig element ? I'm looking at it
I'm just curious about this really, does anyone know why they broke convention on
Does anyone know about a SQL statements parser, in Java, that would allow having
I have played a sound in classA, and does anyone know how to stop
Does anyone know how to get IntelliSense to work reliably when working in C/C++
Does anyone know how to transform a enum value to a human readable value?
Does anyone know of a good Command Prompt replacement? I've tried bash/Cygwin, but that

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.