Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Facebook Graph API to v13.0 #144

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion socialauth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>org.brickred</groupId>
<artifactId>socialauth</artifactId>
<name>socialauth</name>
<version>4.16</version>
<version>4.18</version>
<description>SocialAuth library</description>
<url>http://code.google.com/p/socialauth/</url>
<licenses>
Expand All @@ -19,6 +19,14 @@
<connection>scm:svn:http://socialauth.googlecode.com/svn/trunk/</connection>
<url>http://socialauth.googlecode.com/svn/trunk/</url>
</scm>

<distributionManagement>
<repository>
<id>nmplatform</id>
<url>https://nexus.nmlabs.gr/repository/nmplatform/</url>
</repository>
</distributionManagement>

<developers>
<developer>
<id>tsg</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ of this software and associated documentation files (the "Software"), to deal
public class FacebookImpl extends AbstractProvider {
private static final long serialVersionUID = 8644510564735754296L;

public static final String FB_API_VERSION = "v3.2";
public static final String FB_API_VERSION = "v13.0";
public static final String FB_API_URL = "https://graph.facebook.com/" + FB_API_VERSION;
private static final String PROFILE_URL = FB_API_URL + "/me?fields=id,name,picture,age_range,birthday,email,first_name,last_name,gender,location,locale";
private static final String CONTACTS_URL = FB_API_URL + "/me/friends";
Expand Down Expand Up @@ -567,4 +567,4 @@ public void refreshToken(final AccessGrant expireAccessGrant)
accessGrant = ag;
authenticationStrategy.setAccessGrant(ag);
}
}
}