0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Read-only instagran client
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

Instaclient

A very simple instagram client.

Usage

  require 'instaclient'
  client = Instaclient::Client.new(my_client_id, my_client_secret)

  result = client.recent(user_id, count)

  result.each do |media|
    puts "Link: #{media.link}"
    puts "ID: #{media.id}"
    puts "Image: #{media.image_url(:standard_resolution)}"
    ...
  end

  embed = client.embed("https://instagram.com/p/somemedia/")

  embed.html
  #=> "<blockquote ..."
  embed.title
  #=> "media title"
  embed.author
  #=> "author name"

Methods

There is only the recent method, it's all I need at the moment!

Official Instagram Gem

Yeah, there is an official instagram gem but it's not multi-tenant friendly

License

MIT