# huandu/facebook

A Facebook Graph API SDK For Go.

Repository: https://github.com/huandu/facebook
Canonical: https://ross.abutalabs.com/products/facebook
Homepage: https://pkg.go.dev/github.com/huandu/facebook
Language: Go
License: MIT
License Family: permissive
Topics: go, facebook, graph-api, sdk, batch
Last push: 2026-08-21T11:55:37+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 66, longevity 100
- inputs: {"age_days": 5149, "days_push": 12, "days_rel": 12, "gap_med": 341.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1479, forks 579 (observed 2026-08-28T04:04:50.606281+00:00)

## What it is
A Go SDK for the Facebook Graph API supporting file upload, batch requests, and the marketing API. It provides typed result decoding into Go structs and works on Google App Engine.

## Use cases
- call the facebook graph api from go
- upload files to facebook via api
- send batch requests to facebook graph api
- use facebook marketing api in golang
- decode facebook api responses into go structs
- read a facebook user's profile with an access token

## When to choose
- you need Facebook Graph API access in a Go application
- you want batch requests or file uploads against the Graph API
- you need to run on Google App Engine

## When to avoid
- you need SDKs for other social platforms
- you need a maintained library with recent security fixes (a known GO-2024 vulnerability exposes access tokens in error messages)
- you work outside the Go ecosystem

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, sdk
- domain: apis, social-media, web-development, developer-tools
- platform: go, cross-platform
- tags: facebook-graph-api, social-media-api, batch-requests, file-upload, marketing-api

## Member repositories
- huandu/facebook (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:50.606281+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:34:19.249291+00:00, confidence not recorded.
  - readme: https://github.com/huandu/facebook (fetched 2026-08-28T04:04:50.606281+00:00, sha e25246efe3a8)
  - homepage: https://pkg.go.dev/github.com/huandu/facebook (fetched 2026-08-29T11:41:16.170854+00:00, sha 470fdfae9529)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T11:41:16.181647+00:00, sha 757852027879)
  - site_page: https://go.dev/project (fetched 2026-08-29T11:41:16.184091+00:00, sha d5ca00bb378b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
