aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/www/facebook
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-01-17 11:57:50 +0300
committerGravatar Vitaly Takmazov2017-01-17 14:14:30 +0300
commit3890570bf190a63f8f34c47a7fd21e780a61b6b0 (patch)
tree94ee4a300ae032c3e01ba8bfc17ea462f0511578 /juick-www/src/main/java/com/juick/www/facebook
parent965d46f8188378eea8acb99e8f6c448a26a1ee19 (diff)
juick-www: Facebook and VK login using scribejava
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/facebook')
-rw-r--r--juick-www/src/main/java/com/juick/www/facebook/User.java (renamed from juick-www/src/main/java/com/juick/www/facebook/Graph.java)4
1 files changed, 3 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/facebook/Graph.java b/juick-www/src/main/java/com/juick/www/facebook/User.java
index f4c6ab2a1..763e98d7f 100644
--- a/juick-www/src/main/java/com/juick/www/facebook/Graph.java
+++ b/juick-www/src/main/java/com/juick/www/facebook/User.java
@@ -1,11 +1,13 @@
package com.juick.www.facebook;
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Created by vitalyster on 28.11.2016.
*/
-public class Graph {
+@JsonIgnoreProperties(ignoreUnknown = true)
+public class User {
private String id;
private String name;
private String link;