Skip to content

Commit

Permalink
Merge pull request #6 from refoxdev/master
Browse files Browse the repository at this point in the history
pub.dev scores increased by 10 points and small space bug fixed
  • Loading branch information
viralvaghela authored Aug 13, 2020
2 parents c06e22c + 4d21f83 commit d9ac092
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.1.0"
version: "0.1.1"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
6 changes: 3 additions & 3 deletions lib/flutter_insta.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ class FlutterInsta {
"/?__a=1");
var data = json.decode(downloadURL.body);
var graphql = data['graphql'];
var shortcode_media = graphql['shortcode_media'];
var video_url = shortcode_media['video_url'];
return video_url; // return download link
var shortcodeMedia = graphql['shortcode_media'];
var videoUrl = shortcodeMedia['video_url'];
return videoUrl; // return download link
}

//get profile details
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_insta
description: Flutter package to get instagram user's details such as prifile picture url,number of followers,following,Bio,website and download reels video.
version: 0.1.0
version: 0.1.1
homepage: https://github.com/viralvaghela/flutter_insta

environment:
Expand Down

0 comments on commit d9ac092

Please sign in to comment.