basic_feed_fetcher 0.0.1+3
basic_feed_fetcher: ^0.0.1+3 copied to clipboard
An all-inclusive plugin, for fetching your own posts, from Facebook, Instagram and Twitter.
instagram_basic_display #
An all-inclusive plugin, for fetching your own posts, from social media platforms such as Facebook, Instagram and Twitter.
At the moment only the following platforms are supported:
More would follow in the future:
Getting Started #
Obtain access_tokens #
- Instagram
- Follow these steps at developers.facebook.com.
- Create your app with the appropriate permissions.
- Obtain the final
user_access_token.
- Follow these steps at developers.facebook.com.
- Facebook
- (Coming in the near future. Stay tuned!)
- Twitter
- (Coming in the near future. Stay tuned!)
Store the key securely #
These keys are vital to the security of you facebook app, and so should not be stored publicly. You could use the following ways to store your keys:
- Locally
- Use Environment variables.
- Use a secure storage package such as Envied.
- Online
- Use Firebase's Secure Storage.
- Use Firebase's Remote Config (for easier refreshing) of the keys.
- Any other server of your choice.
I am a fan of Remote Config + Envied (as backup).
Depend on the package #
Run this command:
With Flutter:
$ flutter pub add instagram_basic_display
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
instagram_basic_display: ^0.0.1
Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import the package #
Now in your Dart code, you can use:
import 'package:instagram_basic_display/instagram_basic_display.dart';