RAILS初心者です。
作業:Instagramで画像をひっぱてくる、(InstagramのAPIを使って画像をひっぱてくる)
railsで、indexの設定でひっかっている様子。(下がerrorと指摘される)
def index
@medias = Instagram.tag_recent_media(URI.encode("犬"))
end
end
エラーの詳細は下のような長い文章が!
JSON::ParserError in HomesController#index
757: unexpected token at '<!DOCTYPE html> <!--[if lt IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8 lt-ie7 not-logged-in "> <![endif]--> <!--[if IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8 not-logged-in "> <![endif]--> <!--[if IE 8]> <html lang="en" class="no-js lt-ie9 not-logged-in "> <![endif]--> <!--[if gt IE 8]><!--> <html lang="en" class="no-js
どうすれば?教えてください。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。