<div>begin</div><div>&nbsp;+ require &#39;uri&#39;&nbsp;</div><div>&nbsp;&nbsp;require &#39;curb&#39;</div><div>&nbsp;&nbsp;Facebooker.use_curl = true</div><div>rescue LoadError</div><div>&nbsp;&nbsp;$stderr.puts &quot;Curb not found. Using Net::HTTP.&quot;</div>
<div>&nbsp;&nbsp;require &#39;net/http&#39;</div><div>end</div><div><br></div><div>require &#39;uri&#39; is need for the url method.</div><div><br></div><div>also anyone using the latest, make sure json and curb is installed, curb however is optional.</div>