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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:56:37+00:00 2026-05-30T10:56:37+00:00

I have been trying to wrap my head around creating a RESTFul API using

  • 0

I have been trying to wrap my head around creating a RESTFul API using Oauth for both 2-legged and 3-legged authentication scenarios. I have read a lot of articles and I am at the moment just very confused. Now looking through various API implementations to gain better understanding.

While looking through a facebook api service consumption implementation; after getting an access token. I noticed the following url structure for a resource request

https://graph.facebook.com/me?access_token={access_token}

I was thinking the app_key and the secret_key of the consumer will be also be passed as a parameter.

I am imagining a scenario where ‘offline_access’ is part of the permission scope. what if this access token is passed by another application. How does facebook validate that it is the right consumer?

Thank you.

  • 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-30T10:56:39+00:00Added an answer on May 30, 2026 at 10:56 am

    The OAuth 2 spec defines that access tokens should be unique for each user for each consumer. This simply means that every consumer gets a new access token. If consumer 1 had consumer 2’s access token, the API would think that consumer 2 is making the request. Simple as that.

    Of course, this calls for proper security on the access tokens. How they are secured is pretty much beyond the scope of OAuth, although it does define that they must only be passed over SSL connections.

    Don’t read articles. Read the actual specification.

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

Sidebar

Related Questions

For sometime now, I have been trying to wrap my head around the reason
I have been trying to wrap my head around this for a while now
I have been trying to wrap my head around functional programming for a while
I have been trying to wrap my head around why this is happening but
Ok, I have been trying to wrap my head around this http live streaming.
I have been trying to wrap my head around NSDate , NSCalendar , NSDateComponents
I have been trying to wrap my head around mvvm for the last week
I have been trying to wrap my head around this FXCop violation DoNotDeclareReadOnlyMutableReferenceTypes MSDN:
For the last 6 months I have been trying to wrap my head around
I have been trying to wrap my head around this issue but I am

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.