facebapi is a dart library to interact with the Facebook API. Focus for the first versions are Facebook groups.
You need to define your Facebook App ID and App Secret. You get them from https://developers.facebook.com/apps/ .
final fbAppID = "9876"; final fbAppSecret = "124oij2oi14oiu14r";
Get IDs of the users groups
var usr = new fbuser(1234, 'WEDASFDFGSFG23432FSDF') //User ID and Auth Token usr.groupIds().then(print);
- Add more API endpoints
0.0.5 Added a method for generic endpoints USR.generic(ENDPOINT)
0.0.4 First working version; Only function: list of group IDs
I started to program in Dart just some months ago. My code is buggy. Feedback is always welcome.