Skip to main content
/
SoftwareEngineering
/
Group items tagged AccessToken
Group items tagged
Filter:
All
|
Bookmarks
|
Topics
Simple
Middle
Access Tokens and Types - Facebook Developers
- 0 views
developers.facebook.com/...access-tokens-and-types
Facebook
login
authentication
AccessToken
FacebookAPI
shared by
kuni katsuya
on 27 Mar 13
-
No Cached
Access Tokens and Types
...
Cancel
Access Tokens
...
Cancel
random string that provides temporary, secure access to Facebook APIs
...
Cancel
...27 more annotations...
token identifies a User, App or Page session and provides information about granted permissions
...
Cancel
Types
...
Cancel
User Access
...
Cancel
generated in the login flow when a
...
Cancel
Facebook Pages
...
Cancel
on behalf of a user
...
Cancel
use this token to perform API calls
...
Cancel
Page Access
...
Cancel
used to
...
Cancel
manage
...
Cancel
user grants permissions to an app
...
Cancel
user who is the
...
Cancel
App Secret or an App Access token should never be included in any code that could be accessed by anyone other than a developer of the app
...
Cancel
must grant an extended permission called
...
Cancel
manage_pages
...
Cancel
use this type of token to make API calls
...
Cancel
on behalf of a page
...
Cancel
unique to each page, admin and app
...
Cancel
App Access
...
Cancel
useful to modify app settings, create and manage test users or read App Insights data
...
Cancel
use app tokens to publish or delete content
...
Cancel
on behalf of a user
...
Cancel
unique to each app
...
Cancel
Security Best Practices
...
Cancel
extremely important that an App Secret is not compromised
...
Cancel
Page admin
...
Cancel
App Access Tokens should only be used directly from your app's servers in order to provide the best security
...
Cancel
...
Cancel
Login for Server-side Apps - Facebook Developers
- 0 views
developers.facebook.com/...server-side-login
Facebook
login
authentication
AccessToken
FacebookAPI
shared by
kuni katsuya
on 27 Mar 13
-
No Cached
compare it to the same state variable stored client-side in the session
kuni katsuya
on 27 Mar 13
cross-site request forgery defense mechanism
cross-site request forgery defense mechanism
...
Cancel
...
Cancel
If the user decided to decline to authorize your app
...
Cancel
YOUR_REDIRECT_URI
...
Cancel
...38 more annotations...
error_reason=user_denied
...
Cancel
Handling Revoked Permissions to see how best to proceed
...
Cancel
Step 6. Exchange the code for an Access Token
...
Cancel
exchange it for a User access token that can then be used to make API requests
...
Cancel
/oauth/access_token
...
Cancel
server-side request to the following OAuth endpoint:
...
Cancel
client_secret
...
Cancel
code=CODE_GENERATED_BY_FACEBOOK
...
Cancel
body of the response
...
Cancel
access_token
...
Cancel
USER_ACCESS_TOKEN
...
Cancel
persist this User access token in your database or in a session variable
...
Cancel
must have the same base domain as that specified in the App Domain property of your app's settings
...
Cancel
URL of the form https://apps.facebook.com/YOUR_APP_NAMESPACE
...
Cancel
scope=user_birthday,read_stream
...
Cancel
Step 4. Add Permissions to Login Dialog request
...
Cancel
comma-separated list of any of the Permissions available
...
Cancel
Step 5. Handle the response from the Login Dialog
...
Cancel
Step 5. Handle the response from the Login Dialog
...
Cancel
Step 5. Handle the response from the Login Dialog
...
Cancel
Step 5. Handle the response from the Login Dialog
...
Cancel
YOUR_REDIRECT_URI
...
Cancel
Step 3. Redirect the user to the Login Dialog
...
Cancel
Login for Server-side Apps
...
Cancel
Login for Server-side Apps
...
Cancel
Login for Server-side Apps
...
Cancel
Login for Server-side Apps
...
Cancel
Login for Server-side Apps
...
Cancel
Login for Server-side Apps
...
Cancel
way to authenticate users in situations where the use of client-side Javascript is not appropriate.
...
Cancel
Login for Server-side Apps
...
Cancel
received an access token for them and can make API calls on their behalf
...
Cancel
Step 5. Handle the response from the Login Dialog
...
Cancel
include CSRF protection using the state parameter
...
Cancel
if the user has authorized the app, they will be redirected to:
...
Cancel
YOUR_REDIRECT_URI
...
Cancel
code=CODE_GENERATED_BY_FACEBOOK
...
Cancel
redirect_uri as the same URL that redirect the user to the Login Dialog
...
Cancel
...
Cancel
How-To: Handle expired access tokens- Facebook Developers
- 0 views
developers.facebook.com/...--handle-expired-access-tokens
Facebook
login
authentication
AccessToken
FacebookAPI
shared by
kuni katsuya
on 27 Mar 13
-
No Cached
How-To: Handle expired access tokens
...
Cancel
...
Cancel
Extending Access Tokens - Facebook Developers
- 0 views
developers.facebook.com/...extending-tokens
Facebook
login
authentication
AccessToken
FacebookAPI
shared by
kuni katsuya
on 27 Mar 13
-
No Cached
Extending Access Tokens
...
Cancel
validity period of about 1 to 2 hours
...
Cancel
server-side login flow
...
Cancel
...14 more annotations...
automatically get long-lived user access tokens
...
Cancel
refreshes and extends each time the user triggers the login flow
...
Cancel
Extending
...
Cancel
client-side
...
Cancel
user access tokens
...
Cancel
response from this endpoint will include the
...
Cancel
exchange this token for a longer-lived one
...
Cancel
passing it to the /oauth endpoint from your server
...
Cancel
grant_type parameter of fb_exchange_token
...
Cancel
/oauth/access_token
...
Cancel
grant_type=fb_exchange_token
...
Cancel
fb_exchange_token=SHORT_LIVED_ACCESS_TOKEN
...
Cancel
by default you'll receive a short-lived token that is only valid for 1-2 hours
...
Cancel
long-lived access token
...
Cancel
...
Cancel
1
-
4
of
4
Showing
20
▼
items per page
20
50
100
Related searches
Search
AccessToken
matching in title, tags, annotations and url of group items »
Search in Google »