kfiross / flutter_instagram_image_picker Goto Github PK
View Code? Open in Web Editor NEWA Flutter package for picking images from Instagram
License: BSD 3-Clause "New" or "Revised" License
A Flutter package for picking images from Instagram
License: BSD 3-Clause "New" or "Revised" License
First of all, thank you for this package.
I am having an issue with the sign in process. Successful sign in occasionally happens with most attempts resulting in a crash.
I forked this project and logged the sign in response with the most frequent response being 403: Unknown error. You can check my forked version to see the logged message.
I believe the error is with the use of the Heroku app endpoint because simulating the sign in request on a REST client like Postman gave me the response. Please check on this issue with your response being highly appreciated
Please add an image. How it look like
i am not able to get instagram photos in my simultor and in real device. i have downloaded the flutter project from the github and then run the example then put the login details after run the project and then we were moved the image picker page but i am not getting anything their
Why I'm getting this error: error_type": "OAuthException", "code": 400, "error_message": "Invalid scope: ['basic']"}
This package don't connect to instagram api directly and ask for login password.
This could be a phishing attempt to stole login access.
It should either be corrected by implementing Oauth2 identification or be removed.
This line from the example code has an issue:
bool loginStatus = await InstagramAuth().signUserIn(context);
This gives the following warning, given that context
is being used in async code:
Don't use 'BuildContext's across async gaps.
Try rewriting the code to not reference the 'BuildContext'.dart[use_build_context_synchronously](https://dart-lang.github.io/linter/lints/use_build_context_synchronously.html)
This plugin is routing all your requests to the custom backend service with your password and username and may potentially steal your data from there. Requested not to use this plugin.
I get the following exception, using the example code provided in README.md
:
E/flutter (22129): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: NoSuchMethodError: The method '[]' was called on null.
E/flutter (22129): Receiver: null
E/flutter (22129): Tried calling: []("edges")
E/flutter (22129): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5)
E/flutter (22129): #1 InstagramApiClient.fetchPhotos
instagram_api_client.dart:78
E/flutter (22129): <asynchronous suspension>
E/flutter (22129): #2 _InstagramImagePickerState._paginatePhotos
picker.dart:103
E/flutter (22129): <asynchronous suspension>
E/flutter (22129):
D/EGL_emulation(22129): app_time_stats: avg=137.05ms min=0.76ms max=4674.52ms count=38
The line that throws the exception is in instagram_api_client.dart
:
final edges = body['data']['edges'];
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.