Releases: roundrop/facebook4j
2.4.3
2.4.2
2.4.1
2.4.0
Topics
Access Token expiration extention
Access tokens have a lifetime.
A short-lived token often have a lifetime of about two hours, but will automatically be refreshed when required. If you want to use access tokens for longer-lived web apps, especially server side, you need to generate a long-lived token. A long-lived token generally lasts about 60 days.
See Expiration and Extension of Access Tokens for details.
In Facebook4J, you can do it by Facebook#extendTokenExpiration() method.
Device Access Token
With Facebook Login for Devices people can easily and safely log into apps and services with their Facebook account on devices with limited input or display capabilities.
With device login, your device shows an alphanumeric code and tells people to enter it on a web page on their desktop PC or smartphone. People using your app or service can then grant permissions. After your application gets permissions, the device receives an Access Token which your app uses to make Graph API requests to identify the person and get information to personalize their experience with the device.
See Facebook Login for Devices for details.
In Facebook4J, you can use it by Facebook#getOAuthDeviceCode() method and Facebook#getOAuthDeviceToken() method.
An example implementation is available at https://github.com/roundrop/facebook4j-oauth-example .
Re-Authentication
This when your app confirms a person's identity after checking previously. With Facebook Login, your app asks a person to re-enter their Facebook password at any time. You can use this to prevent cases where a user leaves a device logged in or where a third party hijacks someone's session with your app.
See Re-Authentication for details.
In Facebook4J, you can use it by Facebook#getOAuthReAuthenticationURL() method.
Changes
version 2.3.2
version 2.3.1
version 2.3.0
Topics
Newer response format support
- Supports v2.3 API's /oauth/access_token response format by @roundrop
- Supports {“success”: true} boolean response format @roundrop
Changes
- Add getTaggableFriends() method by @willisju
- Add getTaggedPlaces() method by @willisju
- Fix test failures due to array ordering by @mike10004
- Fix TimeZone parsing by @mike10004
version 2.2.2
Changes
- #75 Add ageRange field to User object by @paolobiavati
- #76 getTestUsers implementation to manage paging by @paolobiavati
version 2.2.1
Changes
- #71 Accept string type hometown field by @sdonik
- #72 getPictureURL for larger profile images (support 480x480 - 600x600) by @paolobiavati
- #73 handle current format for graph API endpoint GET /{user-id}/permissions by @mamoabeng