Net::HTTP Gives time out but browser visit returns data
- by steve
I tried the following
Net::HTTP.get_print URI.parse(URI.encode('https://graph.facebook.com/me/likes?access_token=mytoken', '|'))
(My Token is my actual token in code)
I get a EOFError: end of file reached error
If I visit the page with my browswer it loads up a JSON page. Any idea what could be causing the error? It was working a few days ago. Can't see any changes to facebook api.