business.business

This object type represents a place of business that has a location, operating hours and contact information.

Markup
 <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# business: http://ogp.me/ns/business#">
  <meta property="fb:app_id"                            content="302184056577324" /> 
  <meta property="og:type"                              content="business.business" /> 
  <meta property="og:url"                               content="Put your own URL to the object here" /> 
  <meta property="og:title"                             content="Sample Business" /> 
  <meta property="og:image"                             content="https://fbstatic-a.akamaihd.net/images/devsite/attachment_blank.png" /> 
  <meta property="business:contact_data:street_address" content="Sample Contact data: Street Address" /> 
  <meta property="business:contact_data:locality"       content="Sample Contact data: Locality" /> 
  <meta property="business:contact_data:postal_code"    content="Sample Contact data: Postal Code" /> 
  <meta property="business:contact_data:country_name"   content="Sample Contact data: Country Name" /> 
  <meta property="place:location:latitude"              content="Sample Location: Latitude" /> 
  <meta property="place:location:longitude"             content="Sample Location: Longitude" /> 
Create
/* make the API call */
FB.api(
    "/me/objects/business.business",
    "POST",
    {
        "object": "{\"fb:app_id\":\"302184056577324\",\"og:type\":\"business.business\",\"og:url\":\"Put your own URL to the object here\",\"og:title\":\"Sample Business\",\"og:image\":\"https:\\\/\\\/fbstatic-a.akamaihd.net\\\/images\\\/devsite\\\/attachment_blank.png\",\"business:contact_data:street_address\":\"Sample Contact data: Street Address\",\"business:contact_data:locality\":\"Sample Contact data: Locality\",\"business:contact_data:postal_code\":\"Sample Contact data: Postal Code\",\"business:contact_data:country_name\":\"Sample Contact data: Country Name\",\"place:location:latitude\":\"Sample Location: Latitude\",\"place:location:longitude\":\"Sample Location: Longitude\"}"
    },
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
// For more complex open graph stories, use `FBSDKShareAPI`
// with `FBSDKShareOpenGraphContent`
NSDictionary *params = @{
  @"object": @"{\"fb:app_id\":\"302184056577324\",\"og:type\":\"business.business\",\"og:url\":\"Put your own URL to the object here\",\"og:title\":\"Sample Business\",\"og:image\":\"https:\/\/fbstatic-a.akamaihd.net\/images\/devsite\/attachment_blank.png\",\"business:contact_data:street_address\":\"Sample Contact data: Street Address\",\"business:contact_data:locality\":\"Sample Contact data: Locality\",\"business:contact_data:postal_code\":\"Sample Contact data: Postal Code\",\"business:contact_data:country_name\":\"Sample Contact data: Country Name\",\"place:location:latitude\":\"Sample Location: Latitude\",\"place:location:longitude\":\"Sample Location: Longitude\"}",
};
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                               initWithGraphPath:@"/me/objects/business.business"
                                      parameters:params
                                      HTTPMethod:@"POST"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];
Bundle params = new Bundle();
params.putString("object", "{\"fb:app_id\":\"302184056577324\",\"og:type\":\"business.business\",\"og:url\":\"Put your own URL to the object here\",\"og:title\":\"Sample Business\",\"og:image\":\"https:\/\/fbstatic-a.akamaihd.net\/images\/devsite\/attachment_blank.png\",\"business:contact_data:street_address\":\"Sample Contact data: Street Address\",\"business:contact_data:locality\":\"Sample Contact data: Locality\",\"business:contact_data:postal_code\":\"Sample Contact data: Postal Code\",\"business:contact_data:country_name\":\"Sample Contact data: Country Name\",\"place:location:latitude\":\"Sample Location: Latitude\",\"place:location:longitude\":\"Sample Location: Longitude\"}");
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/me/objects/business.business",
    params,
    HttpMethod.POST,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
/* PHP SDK v5.0.0 */
/* make the API call */
$request = new FacebookRequest(
  $session,
  'POST',
  '/me/objects/business.business',
  array (
    'object' => '{"fb:app_id":"302184056577324","og:type":"business.business","og:url":"Put your own URL to the object here","og:title":"Sample Business","og:image":"https:\\/\\/fbstatic-a.akamaihd.net\\/images\\/devsite\\/attachment_blank.png","business:contact_data:street_address":"Sample Contact data: Street Address","business:contact_data:locality":"Sample Contact data: Locality","business:contact_data:postal_code":"Sample Contact data: Postal Code","business:contact_data:country_name":"Sample Contact data: Country Name","place:location:latitude":"Sample Location: Latitude","place:location:longitude":"Sample Location: Longitude"}',
  )
);
$response = $request->execute();
$graphObject = $response->getGraphObject();
/* handle the result */
POST /v2.8/me/objects/business.business HTTP/1.1
Host: graph.facebook.com

object=%7B%22fb%3Aapp_id%22%3A%22302184056577324%22%2C%22og%3Atype%22%3A%22business.business%22%2C%22og%3Aurl%22%3A%22Put+your+own+URL+to+the+object+here%22%2C%22og%3Atitle%22%3A%22Sample+Business%22%2C%22og%3Aimage%22%3A%22https%3A%5C%2F%5C%2Ffbstatic-a.akamaihd.net%5C%2Fimages%5C%2Fdevsite%5C%2Fattachment_blank.png%22%2C%22business%3Acontact_data%3Astreet_address%22%3A%22Sample+Contact+data%3A+Street+Address%22%2C%22business%3Acontact_data%3Alocality%22%3A%22Sample+Contact+data%3A+Locality%22%2C%22business%3Acontact_data%3Apostal_code%22%3A%22Sample+Contact+data%3A+Postal+Code%22%2C%22business%3Acontact_data%3Acountry_name%22%3A%22Sample+Contact+data%3A+Country+Name%22%2C%22place%3Alocation%3Alatitude%22%3A%22Sample+Location%3A+Latitude%22%2C%22place%3Alocation%3Alongitude%22%3A%22Sample+Location%3A+Longitude%22%7D
curl -X POST \
     -d "object=%7B%22fb%3Aapp_id%22%3A%22302184056577324%22%2C%22og%3Atype%22%3A%22business.business%22%2C%22og%3Aurl%22%3A%22Put+your+own+URL+to+the+object+here%22%2C%22og%3Atitle%22%3A%22Sample+Business%22%2C%22og%3Aimage%22%3A%22https%3A%5C%2F%5C%2Ffbstatic-a.akamaihd.net%5C%2Fimages%5C%2Fdevsite%5C%2Fattachment_blank.png%22%2C%22business%3Acontact_data%3Astreet_address%22%3A%22Sample+Contact+data%3A+Street+Address%22%2C%22business%3Acontact_data%3Alocality%22%3A%22Sample+Contact+data%3A+Locality%22%2C%22business%3Acontact_data%3Apostal_code%22%3A%22Sample+Contact+data%3A+Postal+Code%22%2C%22business%3Acontact_data%3Acountry_name%22%3A%22Sample+Contact+data%3A+Country+Name%22%2C%22place%3Alocation%3Alatitude%22%3A%22Sample+Location%3A+Latitude%22%2C%22place%3Alocation%3Alongitude%22%3A%22Sample+Location%3A+Longitude%22%7D" \
        https://graph.facebook.com/v2.8/me/objects/business.business
Read
/* make the API call */
FB.api(
    "/me/objects/business.business",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
// For more complex open graph stories, use `FBSDKShareAPI`
// with `FBSDKShareOpenGraphContent`
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                               initWithGraphPath:@"/me/objects/business.business"
                                      parameters:params
                                      HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/me/objects/business.business",
    null,
    HttpMethod.GET,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
/* PHP SDK v5.0.0 */
/* make the API call */
$request = new FacebookRequest(
  $session,
  'GET',
  '/me/objects/business.business'
);
$response = $request->execute();
$graphObject = $response->getGraphObject();
/* handle the result */
GET /v2.8/me/objects/business.business HTTP/1.1
Host: graph.facebook.com
curl https://graph.facebook.com/v2.8/me/objects/business.business
Update
/* make the API call */
FB.api(
    "/id_from_create_call",
    "POST",
    {
        "object": "{\"fb:app_id\":\"302184056577324\",\"og:type\":\"business.business\",\"og:url\":\"Put your own URL to the object here\",\"og:title\":\"Sample Business\",\"og:image\":\"https:\\\/\\\/fbstatic-a.akamaihd.net\\\/images\\\/devsite\\\/attachment_blank.png\",\"business:contact_data:street_address\":\"Sample Contact data: Street Address\",\"business:contact_data:locality\":\"Sample Contact data: Locality\",\"business:contact_data:postal_code\":\"Sample Contact data: Postal Code\",\"business:contact_data:country_name\":\"Sample Contact data: Country Name\",\"place:location:latitude\":\"Sample Location: Latitude\",\"place:location:longitude\":\"Sample Location: Longitude\"}"
    },
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
// For more complex open graph stories, use `FBSDKShareAPI`
// with `FBSDKShareOpenGraphContent`
NSDictionary *params = @{
  @"object": @"{\"fb:app_id\":\"302184056577324\",\"og:type\":\"business.business\",\"og:url\":\"Put your own URL to the object here\",\"og:title\":\"Sample Business\",\"og:image\":\"https:\/\/fbstatic-a.akamaihd.net\/images\/devsite\/attachment_blank.png\",\"business:contact_data:street_address\":\"Sample Contact data: Street Address\",\"business:contact_data:locality\":\"Sample Contact data: Locality\",\"business:contact_data:postal_code\":\"Sample Contact data: Postal Code\",\"business:contact_data:country_name\":\"Sample Contact data: Country Name\",\"place:location:latitude\":\"Sample Location: Latitude\",\"place:location:longitude\":\"Sample Location: Longitude\"}",
};
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                               initWithGraphPath:@"/id_from_create_call"
                                      parameters:params
                                      HTTPMethod:@"POST"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];
Bundle params = new Bundle();
params.putString("object", "{\"fb:app_id\":\"302184056577324\",\"og:type\":\"business.business\",\"og:url\":\"Put your own URL to the object here\",\"og:title\":\"Sample Business\",\"og:image\":\"https:\/\/fbstatic-a.akamaihd.net\/images\/devsite\/attachment_blank.png\",\"business:contact_data:street_address\":\"Sample Contact data: Street Address\",\"business:contact_data:locality\":\"Sample Contact data: Locality\",\"business:contact_data:postal_code\":\"Sample Contact data: Postal Code\",\"business:contact_data:country_name\":\"Sample Contact data: Country Name\",\"place:location:latitude\":\"Sample Location: Latitude\",\"place:location:longitude\":\"Sample Location: Longitude\"}");
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/id_from_create_call",
    params,
    HttpMethod.POST,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
/* PHP SDK v5.0.0 */
/* make the API call */
$request = new FacebookRequest(
  $session,
  'POST',
  '/id_from_create_call',
  array (
    'object' => '{"fb:app_id":"302184056577324","og:type":"business.business","og:url":"Put your own URL to the object here","og:title":"Sample Business","og:image":"https:\\/\\/fbstatic-a.akamaihd.net\\/images\\/devsite\\/attachment_blank.png","business:contact_data:street_address":"Sample Contact data: Street Address","business:contact_data:locality":"Sample Contact data: Locality","business:contact_data:postal_code":"Sample Contact data: Postal Code","business:contact_data:country_name":"Sample Contact data: Country Name","place:location:latitude":"Sample Location: Latitude","place:location:longitude":"Sample Location: Longitude"}',
  )
);
$response = $request->execute();
$graphObject = $response->getGraphObject();
/* handle the result */
POST /v2.8/id_from_create_call HTTP/1.1
Host: graph.facebook.com

object=%7B%22fb%3Aapp_id%22%3A%22302184056577324%22%2C%22og%3Atype%22%3A%22business.business%22%2C%22og%3Aurl%22%3A%22Put+your+own+URL+to+the+object+here%22%2C%22og%3Atitle%22%3A%22Sample+Business%22%2C%22og%3Aimage%22%3A%22https%3A%5C%2F%5C%2Ffbstatic-a.akamaihd.net%5C%2Fimages%5C%2Fdevsite%5C%2Fattachment_blank.png%22%2C%22business%3Acontact_data%3Astreet_address%22%3A%22Sample+Contact+data%3A+Street+Address%22%2C%22business%3Acontact_data%3Alocality%22%3A%22Sample+Contact+data%3A+Locality%22%2C%22business%3Acontact_data%3Apostal_code%22%3A%22Sample+Contact+data%3A+Postal+Code%22%2C%22business%3Acontact_data%3Acountry_name%22%3A%22Sample+Contact+data%3A+Country+Name%22%2C%22place%3Alocation%3Alatitude%22%3A%22Sample+Location%3A+Latitude%22%2C%22place%3Alocation%3Alongitude%22%3A%22Sample+Location%3A+Longitude%22%7D
curl -X POST \
     -d "object=%7B%22fb%3Aapp_id%22%3A%22302184056577324%22%2C%22og%3Atype%22%3A%22business.business%22%2C%22og%3Aurl%22%3A%22Put+your+own+URL+to+the+object+here%22%2C%22og%3Atitle%22%3A%22Sample+Business%22%2C%22og%3Aimage%22%3A%22https%3A%5C%2F%5C%2Ffbstatic-a.akamaihd.net%5C%2Fimages%5C%2Fdevsite%5C%2Fattachment_blank.png%22%2C%22business%3Acontact_data%3Astreet_address%22%3A%22Sample+Contact+data%3A+Street+Address%22%2C%22business%3Acontact_data%3Alocality%22%3A%22Sample+Contact+data%3A+Locality%22%2C%22business%3Acontact_data%3Apostal_code%22%3A%22Sample+Contact+data%3A+Postal+Code%22%2C%22business%3Acontact_data%3Acountry_name%22%3A%22Sample+Contact+data%3A+Country+Name%22%2C%22place%3Alocation%3Alatitude%22%3A%22Sample+Location%3A+Latitude%22%2C%22place%3Alocation%3Alongitude%22%3A%22Sample+Location%3A+Longitude%22%7D" \
        https://graph.facebook.com/v2.8/id_from_create_call
Delete
/* make the API call */
FB.api(
    "/id_from_create_call",
    "DELETE",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
// For more complex open graph stories, use `FBSDKShareAPI`
// with `FBSDKShareOpenGraphContent`
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                               initWithGraphPath:@"/id_from_create_call"
                                      parameters:params
                                      HTTPMethod:@"DELETE"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/id_from_create_call",
    null,
    HttpMethod.DELETE,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
/* PHP SDK v5.0.0 */
/* make the API call */
$request = new FacebookRequest(
  $session,
  'DELETE',
  '/id_from_create_call'
);
$response = $request->execute();
$graphObject = $response->getGraphObject();
/* handle the result */
DELETE /v2.8/id_from_create_call HTTP/1.1
Host: graph.facebook.com
curl -X DELETE \
     -d "" \
        https://graph.facebook.com/v2.8/id_from_create_call
Properties
NameTypeDescription
FIELDS
business:contact_dataContactDataContact data for this business
business:contact_data:street_addressStringThe number and street of the postal address for this business
business:contact_data:localityStringThe city (or locality) line of the postal address for this business
business:contact_data:regionStringThe state (or region) line of the postal address for this business
business:contact_data:postal_codeStringThe postcode (or ZIP code) of the postal address for this business
business:contact_data:country_nameStringThe country of the postal address for this business
business:contact_data:emailStringAn email address to contact this business
business:contact_data:phone_numberStringA telephone number to contact this business
business:contact_data:fax_numberStringA fax number to contact this business
business:contact_data:websiteURLA website for this business
business:hoursArray<Struct>Working hours for this business
business:hours:dayDayOfWeekA day in week
business:hours:startTimeOfDayOpening time
business:hours:endTimeOfDayClosing time
INHERITED FIELDS
al:androidArray<Struct>
al:android:urlAppsite
al:android:packageAndroidPath
al:android:app_nameString
al:android:classString
al:iosArray<IosApplink>
al:ios:urlAppsite
al:ios:app_store_idInteger
al:ios:app_nameString
al:ipadArray<IosApplink>
al:ipad:urlAppsite
al:ipad:app_store_idInteger
al:ipad:app_nameString
al:iphoneArray<IosApplink>
al:iphone:urlAppsite
al:iphone:app_store_idInteger
al:iphone:app_nameString
al:webStruct
al:web:urlURL
al:web:should_fallbackBoolean
al:windowsArray<Struct>
al:windows:urlAppsite
al:windows:package_family_nameString
al:windows:app_idGuid
al:windows:app_nameString
al:windows_phoneArray<Struct>
al:windows_phone:urlAppsite
al:windows_phone:app_idGuid
al:windows_phone:app_nameString
al:windows_universalArray<Struct>
al:windows_universal:urlAppsite
al:windows_universal:package_family_nameString
al:windows_universal:app_idGuid
al:windows_universal:app_nameString
fb:adminsArray<Facebook ID>An array of the Facebook IDs of the app's administrators
fb:app_idFacebook IDA Facebook app ID
fb:pagesArray<Facebook ID>
fb:profile_idProfileThe Facebook ID of a user that can be followed
og:audioArray<Audio>
og:audio:urlStringThe URL of an audio resource associated with the object
og:audio:secure_urlURLAn alternate URL to use if an audio resource requires HTTPS
og:audio:typeStringThe MIME type of an audio resource associated with the object
og:descriptionStringA short description of the object
og:determinerEnumThe word that appears before the object's title in a sentence. This is an list of words from 'a', 'an', 'the', ' "" ', or 'auto'. If 'auto' is chosen, the consumer of the object will chose between 'a' or 'an'. The default is the blank, "".
og:imageArray<Image>
og:image:urlURLThe URL of an image resource associated with the object
og:image:secure_urlURLAn alternate URL to use if an image resource requires HTTPS
og:image:typeStringThe MIME type of an image resource
og:image:widthIntegerThe width of an image resource in pixels
og:image:heightIntegerThe height of an image resource in pixels
og:image:altString
og:image:user_generatedBoolean
og:localeLocaleThe locale that the object's tags are marked up in, in the format language_TERRITORY. The default is en_US
og:locale:localeEnum
og:locale:alternateArray<Enum>Other locales the object's tags are marked up in
og:restrictionsRestrictions
og:restrictions:countryStruct
og:restrictions:country:allowedArray<Country>A whitelist country restriction for the object using a two-letter country code, such as 'US' (may not be used with og:restrictions:country:disallowed)
og:restrictions:country:disallowedArray<Country>A blacklist country restriction for the object using a two-letter country code, such as 'US' (may not be used with og:restrictions:country:allowed)
og:restrictions:ageAgeAn age restriction for the object, such as '13+', '18+'
og:restrictions:contentArray<Content>A content restriction for the object, such as 'alcohol' (the only currently supported value)
og:rich_attachmentBoolean
og:see_alsoArray<URL>An array of URLs of related resources
og:site_nameStringNot supported
og:titleStringThe title of the object as it should appear in the graph
og:ttlInteger
og:typeStringThe type of the object, such as 'article'
og:updated_timeDateTimeThe time when the object was last updated
og:urlURLThe canonical URL of the object, used as its ID in the graph
og:videoArray<Video>
og:video:urlURLThe URL of a video resource associated with the object
og:video:secure_urlURLAn alternate URL to use if a video resource requires HTTPS
og:video:typeStringThe MIME type of a video resource associated with the object
og:video:widthIntegerThe width of a video resource associated with the object in pixels
og:video:heightIntegerThe height of a video resource associated with the object in pixels
place:locationGeoPoint
place:location:latitudeFloat
place:location:longitudeFloat
place:location:altitudeFloat