Advertisement
domeniconappo

Untitled

Feb 8th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.43 KB | None | 0 0
  1. from rm.instagram.client import InstagramAPI
  2. from engine import Engine
  3. engine = Engine['rebelrunner']
  4. access_token = '2117938.eeec206.cab0fc41cede4efca5780951d72c6229' # tanu: error
  5. #access_token = '1446056699.0407f69.47bb99a705074b898b1b2b4a5cff27c3' # domenico: OK
  6. endpoint = 'user_recent_media'
  7. params={'user_id':40045773}
  8. api = InstagramAPI(engine, access_token)
  9. entries = getattr(api, endpoint)(objectify_response=False, **params)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement