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

  • Home
  • SEARCH
  • 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 8582007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:11:11+00:00 2026-06-11T21:11:11+00:00

i am using foursquare api in xcode. what i do is: using its api

  • 0

i am using foursquare api in xcode.

what i do is: using its api i get authenticated on forsquare successfully , in order to signout i dont see any api documentation there.

i am using following code but not working:

- (void)logout {
    oAuth4sq=nil;
    oAuth4sq.oauth_token=nil;
    oAuth4sq.oauth_token_secret=nil;
    [oAuth4sq forget];
    [oAuth4sq save];
    //[self resetUi];
}

any one guide me how to signout user or kill session of authenticated api? so that i could open a sign in screen in webview instead of getting same user already authenticated there.

any help would be appreciated.

  • 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-06-11T21:11:12+00:00Added an answer on June 11, 2026 at 9:11 pm

    It’s not possible for an app to terminate an auth key — the user needs to revoke access via https://foursquare.com/settings/connections.

    If want users to ensure that users explicitly sign in each time via the auth flow, use /authorize instead of /authenticate for the OAuth URL. /authorize always asks the user to authorize the app, where as /authenticate auto-redirects if the logged in user has already authorized the app.

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

Sidebar

Related Questions

Is there any way using foursquare api or some other location based api to
I am trying to get some locations in New York using FourSquare API using
I'm trying to create a Foursquare application using its Java API v2 but I
I am using Foursquare API to get the nearest locations for my current location.
I'm using Foursquare API to get a list of venues of a certain category.
I'm developing a fun little project using Foursquare API. In this project, I have
Using the Foursquare Merchant API, I'm trying to add a campaign. I am able
Using Foursquare API "Venue" service.. I am parsing nearByVenue details like shop, restaurant etc.
I am trying to build a little app using the Foursquare API. require 'rubygems'
I'm using the foursquare venues API to populate a select menu and list 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.