Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Just a little readme grooming... #46

Merged
merged 1 commit into from Feb 21, 2013
Jump to file or symbol
Failed to load files and symbols.
+7 −10
Split
View
@@ -68,6 +68,13 @@ API Usage Examples
------------------
require "rubygems"
require "instagram"
+
+ # All methods require authentication (either by client ID or access token).
+ # To get your Instagram OAuth credentials, register an app at http://instagr.am/oauth/client/register/
+ Instagram.configure do |config|
+ config.client_id = YOUR_CLIENT_KEY
+ config.access_token = YOUR_ACCESS_TOKEN
+ end
# Get a list of a user's most recent media
puts Instagram.user_recent_media(777)
@@ -78,16 +85,6 @@ API Usage Examples
# Get a list of recent media at a given location, in this case, the Instagram office
puts Instagram.location_recent_media(514276)
- # All methods require authentication (either by client ID or access token).
- # To get your Instagram OAuth credentials, register an app at http://instagr.am/oauth/client/register/
- Instagram.configure do |config|
- config.client_id = YOUR_CLIENT_KEY
- config.access_token = YOUR_ACCESS_TOKEN
- end
-
- # Get a list of all the users you're following
- puts Instagram.follows
-
# Get a list of media close to a given latitude and longitude
puts Instagram.media_search("37.7808851","-122.3948632")