Search code examples
ruby-on-railsrubygemsinstagram-apicron-task

Rails Fetch record from instagram using cron job


I am using instagram gem and I need to fetch users media from instagram using users instagram id. I already have instagram user id into users table. I have a few questions

  1. Does Instagram gem give any method which pass user id and fetch users media?
  2. How can I fetch users media using cron job and any gem do that?
  3. How can we authorize cron job that not require login into instagram?

Solution

  • We can fetch users media if we have his instagram id and just pass app client_id in request method