face_recognition 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/face_recognition/models/omni_auth.rb +1 -1
- data/lib/face_recognition/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f501fc42d0d4e882d26ba1bbea27b1f54b2e5bb
|
4
|
+
data.tar.gz: b4bfdf4d125160798f6a0da04da77bbc341c43d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6eda0e73acc053a65a47315000b66b1579ed81b9ada275cd952cb981197399f44e71432629ae9a25e515ca4e991f4afb2528630b70fbb05a476afe9a2288b92
|
7
|
+
data.tar.gz: 6b5c3fd790986e3bb7fe1b26af9c56ef1757b8f3a7af60b1cf51f1124da97c437b3e2f0801a97d93cb6ee811466d505093ad50b9b9c9763c6dfc8ad96b7d2ae1
|
@@ -63,7 +63,7 @@ module FaceRecognition
|
|
63
63
|
def self.extend_fb_token(id, column_name)
|
64
64
|
user = FacebookUser.where(id: id).first
|
65
65
|
return unless user
|
66
|
-
fb_auth = FbGraph2::Auth.new(ENV['
|
66
|
+
fb_auth = FbGraph2::Auth.new(ENV['FACEBOOK_APP_ID'], ENV['FACEBOOK_SECRET'])
|
67
67
|
fb_auth.fb_exchange_token=(user.fb_access_token)
|
68
68
|
user.fb_access_token = fb_auth.access_token!.access_token
|
69
69
|
user.save
|