【发布时间】:2012-01-10 08:37:24
【问题描述】:
我如何获得id 以通过instagram API 的(Hashie::Mash)user(id) 方法访问用户信息或通过(Hashie::Mash)location(id) 访问他/她的位置?
我正在为我的项目使用 Rails。
【问题讨论】:
-
您能否添加更多有关您如何访问 Instagram API 的信息并发布相关代码?你在使用 ActiveResource 吗?
-
我已经安装了 instagram gem。在 yard doc -> [ rubydoc.info/github/Instagram/instagram-ruby-gem/master/Instagram/Client/Locations#location_recent_media-instance_method ] 中,Instagram.location(id) 提供有关给定 instagram 位置的信息.我如何获得这个'id'?
标签: ruby-on-rails ruby instagram