When I GET
/{group-id}?fields=link
I get just get back {group-id}
, rather than a full URL like in the case of /{album-id}?fields=link
, /{photo-id}?fields=link
, etc. Sample request and response for a group:
GET /v2.5/1685218945065439?fields=link
{
"id": "1685218945065439"
}
whereas an album looks like this:
GET /v2.5/1685219628398704?fields=link
{
"link": "https://www.facebook.com/media/set/?set=oa.1685219628398704&type=1",
"id": "1685219628398704"
}
According to the docs link
is a valid field on the Group
object. I'm using a token that has user_managed_groups
. I see the same result when querying OPEN
and CLOSED
groups.
Just looking at the URLs of my groups by loading them in my web browser, I see that they all use the format https://www.facebook.com/groups/{group-id}/
, so it's easy enough to build a URL from the {group-id}
, but is that URL format something I can actually count on?
Using Graph API v2.5.