This URL contains special characters, which Ruby can’t handle:
Your browser can probably open the URL. To fix this error encode the URL before handing it to the parse method:
URI.parse(URI.encode("https://graph.facebook.com/me/friends?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"))
No comments:
Post a Comment