Module: Instagram::Client::Embedding
- Included in:
- Instagram::Client
- Defined in:
- lib/instagram/client/embedding.rb
Overview
Defines methods related to embedding
Instance Method Summary collapse
-
#oembed(*args) ⇒ Object
@example Return information about the media associated with http://instagr.am/p/BUG/ Instagram.oembed(http://instagr.am/p/BUG/).
Instance Method Details
#oembed(*args) ⇒ Object
@example Return information about the media associated with http://instagr.am/p/BUG/ Instagram.oembed(http://instagr.am/p/BUG/)
21 22 23 24 25 |
# File 'lib/instagram/client/embedding.rb', line 21 def (*args) url = args.first return nil unless url get("oembed?url=#{url}", {}, false, true) end |