We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2f70c1c + 440165e commit 10b6037Copy full SHA for 10b6037
project.clj
@@ -1,4 +1,4 @@
1
-(defproject fbia-client "0.5.3"
+(defproject fbia-client "0.5.4"
2
:description "Facebook instant articles client in clojure"
3
:url "https://github.com/clumsyjedi/fbia-client"
4
:license {:name "Eclipse Public License"
src/fbia_client/core.clj
@@ -95,3 +95,13 @@
95
(dissoc :ids))))
96
res))
97
98
+(defn verify-key
99
+ "Checks api keys. params is a map {:input_token \"X\" :access_token \"Y\"} where X might be the same as Y"
100
+ [params]
101
+ (let [res (chan 1)]
102
+ (pipeline 1 res
103
+ *xf-standard*
104
+ (get-request (graph-url api-version
105
+ "/debug_token"
106
+ params)))
107
+ res))
0 commit comments