Skip to content

Function: getLocationInfo() ​

ts
function getLocationInfo(client, locationId): Promise<{
[key: string]: unknown;
  category?: string;
  facebook_places_id?: string;
  lat?: number | null;
  lng?: number | null;
  location_address?: string;
  location_city?: string;
  location_id: string;
  location_zip?: string;
  media_count?: number | null;
  name?: string;
  phone?: string;
  slug?: string;
  website?: string;
}>;

A location's own page: contact details, category and how many posts are tagged there.

Parameters ​

ParameterType
clientPrivateClient
locationIdstring

Returns ​

Promise<{ [key: string]: unknown; category?: string; facebook_places_id?: string; lat?: number | null; lng?: number | null; location_address?: string; location_city?: string; location_id: string; location_zip?: string; media_count?: number | null; name?: string; phone?: string; slug?: string; website?: string; }>

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.