Fork me on GitHub
#beginners
<
2016-12-01
>
mathpunk00:12:31

I want to play with data from the http://Twitter.com api. I'm trying to cargo cult some of this code https://github.com/adamwynne/twitter-api#restful-calls with this code https://github.com/mathpunk/hyperlexia/blob/master/src/hyperlexia/server.clj and figwheel fails to launch the server.

mathpunk00:12:14

The debug messages are about, a use of defn failing to conform to spec

mathpunk00:12:29

I also get an error about java.lang.Exception: namespace 'http.async.client.util' not found, compiling:(http/async/client/request.clj:15:1)

mathpunk00:12:47

I'm not using that, but maybe twitter-api is?

alexmiller01:12:39

That's been fixed in a newer release of http async

gdeer8101:12:05

FYI live stream of Stu talking about spec: https://m.youtube.com/watch?v=dQcNAscSTSw

gamecubate03:12:53

Thanks @ghadi

knjname07:12:58

I thought that this is a common pitfall in meta. When you have ^{:key “foo”} (expression), the metadata has been attached to (expression), not to the result of (expression). https://gist.github.com/knjname/6c67dd6f9d4adce82d8230e08a13ecdf