pablobarbera / instaR

Dev version of instaR package: Access to Instagram API via R
106 stars 47 forks source link

Issue with searchInstagram function #26

Closed lyons7 closed 8 years ago

lyons7 commented 8 years ago

Hi! When I run your example for getting media with a given hashtag:

obama <- searchInstagram(tag="obama", token=my_oauth)

I get an error message saying: Error in searchInstagram(tag = "obama", token = my_oauth) : 0 posts found.

Many thanks for help with this issue :)

lyons7 commented 8 years ago

Also should mention -- I've set my scope to 'public_content'. Not sure if that makes any difference, but based on another person's issue (with getting user information) do I need to do an extra step to get authorization? Thanks!

bluebelly42107 commented 8 years ago

I am having the same issue. Either it returns an error with 0 posts, or it goes through the process of downloading pictures up to the number specified, and the directory folder has a smaller number of pictures than R says it downloads.

lyons7 commented 8 years ago

Thank god! I thought I was crazy or just not doing something correctly.

Could it have something to do with Instagram's new Permissions? I tried to submit a request for getting permissions but it got denied (not sure if they have figured out giving permissions for academic research yet). Do you think this is because we need more than the 'basic' set of permissions? Or something else?

On Thu, Feb 4, 2016 at 8:37 PM, bluebelly42107 notifications@github.com wrote:

I am having the same issue. Either it returns an error with 0 posts, or it goes through the process of downloading pictures up to the number specified, and the directory folder has a smaller number of pictures than R says it downloads.

— Reply to this email directly or view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_pablobarbera_instaR_issues_26-23issuecomment-2D180164989&d=BQMCaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=fy97QKOZ3CDNOPpCAfxmoiqKavYqb59jadPOVz0pwFE&m=7GkmQtTl2Rybd02RLtRGfOUOCdZCWmDoVxzkiuO8UyE&s=nMVMyEGjBZltPqiSJ9YhSNqB9hco5Wnqv3f4di6Nomo&e= .