Skip to content

Instantly share code, notes, and snippets.

@stantonk
Last active December 30, 2015 16:19
Show Gist options
  • Save stantonk/7853747 to your computer and use it in GitHub Desktop.
Save stantonk/7853747 to your computer and use it in GitHub Desktop.
making a simple http GET with scala to facebook's api
import scala.io._
val response = Source.fromURL("http://graph.facebook.com/SproutSocialInc")
val jsonString = response.mkString
println(jsonString)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment