Giter Site home page Giter Site logo

kfiross / flutter_instagram_image_picker Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 9.0 4.49 MB

A Flutter package for picking images from Instagram

License: BSD 3-Clause "New" or "Revised" License

Dart 86.06% Kotlin 0.43% Swift 1.24% Objective-C 0.12% HTML 12.15%

flutter_instagram_image_picker's People

Contributors

kfiross avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

flutter_instagram_image_picker's Issues

not able to get instagram photos

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

`NoSuchMethodError: The method '[]' was called on null.`

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'];

Don't use 'BuildContext's across async gaps

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)

Security issue | Phishing plugin

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.

Unable to access Instagram account

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.