This library perfectly supports most graph API with very handy methods.
Here is a quick tutorial.
import ( "fmt" "github.com/huandu/facebook" ) func main() { res, _ := facebook.Api("/538744468", facebook.GET, facebook.Params{ "fields": "username", }) fmt.Println("here is my facebook username:", res["username"]) }
For more documents, please use go doc
.
This library is licensed under MIT license.