-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sandbox Error or Bug? #36
Comments
John, I have the same problem... |
Hi, I seem to have the same problem. When you're in sandbox mode (which is the default) you don't have any permissions at all. By the way, you have to add a company name, email and link to privacy policy to even unlock the abiloty to put permissions under review. If you try to start a submission (even for public_content), no matter what reason you provide, they shut you down. There're only a couple that works, yet, not having an official privacy policy makes it pretty stupid to send it for review anyway. They also demand things like screencast of your app, etc. In other words, it seems like Instagram made their API connection unusable unless you want to officially launch a business or something like that. I may be missing something, but both Facebook's and Instagram's are so limited and enclosed that you might as well just scrape that data.. it's a pity |
Hi, I have the same error ( Looking through the code Let me know if it would be useful to send example output etc as likely this is just a parsing issue Best |
Took a look through the source code - the issue seems to be in the I suspect the API output was originally a nested list, which needed lots of parsing, however, now the content$data element is a dataframe, so the unlisting code falls over. By commenting out this step and just letting the dataframe flow through, I got a nice dataframe of posts back. Two columns remain as lists ( For anyone else looking to make the same change, it's in |
@alanault Thanks so much for reporting this bug. Could you submit a pull request? Unfortunately I don't have access to a token out of sandbox anymore, so I cannot test this on my end. I'm probably going to take this package out of CRAN anyway, since it seems Instagram has been reluctant to approve apps for research purposes. (If you've had any success and would be willing to share your experience, either here or via email, I would also really appreciate it.) |
"df <- content$data" instead of "df <- searchListToDF(content$data)" as per this post pablobarbera#36
Hi, I'm having the same problem as above, with a simple request:
Debugging the
I think the Is this related to the Sandbox API account? |
Have been playing around with it and indeed the response from the API has changed. This appears in more than just the ones that @MicheleVNG has edited. I don't know if I'll have any chance to come up with a thorough update anytime soon though. |
I was having the same problem but this time with data I gathered from Google Analytics using RGoogleAnalytics Package. |
I am facing the same issue. I have a token which is in the sandbox mode. It is able to pull in data fine for getUserMedia for my account but gives subscript out of bounds error for getcomments. Any help would be appreciated |
I'm trying to test the functionality of instaR inside the Sandbox and received the following error when trying to run most commands:
For example, Running getFollowers on one of my Sandbox users returns:
Error in content$data[[1]]$id : $ operator is invalid for atomic vectors
Running searchInstagram(tag="fall",token, n=10, folder="test") returns:
32 posts
Error in x[[field]] : subscript out of bounds
Is this a result of the Sandbox or is this a result of something else?
Thank you.
John
The text was updated successfully, but these errors were encountered: