You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[engine getMediaAtLocation:self.locationCoordinate count:50 maxId:nil distance:self.distance withSuccess:^(NSArray<InstagramMedia *> * _Nonnull media, InstagramPaginationInfo * _Nonnull paginationInfo) {
NSLog(@"media is %@and self.locationCoordinate is %f,%f and distance is %f", media, self.locationCoordinate.latitude, self.locationCoordinate.longitude, self.distance);
} failure:^(NSError * _Nonnull error, NSInteger serverStatusCode) {
NSLog(@"error is %@ and server status code is %ld", error.localizedDescription, (long)serverStatusCode);
}];
self.locationCoordinate and self.distance are dynamically set when user presses a button. I have tested the accessToken and I am not getting any errors. It is simply just returning an empty array. Do I need to change settings on instagram site? I am currently in sandbox mode, but trying to go live in the next week or so. Thanks for any feedback/answers.
The text was updated successfully, but these errors were encountered:
Same problem with getMediaWithTagName here, also in Sandbox mode. After requesting the public_content permission, it's not giving me any errors, but the array returned is always empty.
[engine getMediaAtLocation:self.locationCoordinate count:50 maxId:nil distance:self.distance withSuccess:^(NSArray<InstagramMedia *> * _Nonnull media, InstagramPaginationInfo * _Nonnull paginationInfo) {
NSLog(@"media is %@and self.locationCoordinate is %f,%f and distance is %f", media, self.locationCoordinate.latitude, self.locationCoordinate.longitude, self.distance);
} failure:^(NSError * _Nonnull error, NSInteger serverStatusCode) {
NSLog(@"error is %@ and server status code is %ld", error.localizedDescription, (long)serverStatusCode);
}];
self.locationCoordinate and self.distance are dynamically set when user presses a button. I have tested the accessToken and I am not getting any errors. It is simply just returning an empty array. Do I need to change settings on instagram site? I am currently in sandbox mode, but trying to go live in the next week or so. Thanks for any feedback/answers.
The text was updated successfully, but these errors were encountered: