comparison src/facebook.coffee @ 14:c1b736a859c9

sorry for the noise - removed testing console.log
author Mathias Gebbe <mgebbe@intevation.de>
date Thu, 12 Jun 2014 10:36:52 +0200
parents f190abf340ef
children a52b5b244e51
comparison
equal deleted inserted replaced
13:58a069d12b0c 14:c1b736a859c9
208 FB.api "me/friends?limit=5000", 208 FB.api "me/friends?limit=5000",
209 fields: [ 209 fields: [
210 "id" 210 "id"
211 ] 211 ]
212 , (res) -> 212 , (res) ->
213 console.log res
214 if not res or res.error 213 if not res or res.error
215 console.log (if not res then "error occurred" else res.error) 214 console.log (if not res then "error occurred" else res.error)
216 215
217 _.each res.data, (person) -> 216 _.each res.data, (person) ->
218 getUserById(me,person.id,token) 217 getUserById(me,person.id,token)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)