Add photo to place with Google Places API -


i noticed request on place search google places api respond photos object looks alike this:

"photos" : [      {         "height" : 270,         "html_attributions" : [            "\u003ca href=\"https://maps.google.com/maps/contrib/110354877626525435377/photos\"\u003efranck moulinier\u003c/a\u003e"         ],         "photo_reference" : "coqbdwaaad_gs_sda2mv2n4iac-3lrixequ0db0jo3mizk4mdfwye1im0bcd03jr1v2qcg24xqfkos5_ztg3kgqvcd8ynr_h97jkfc970-ohp86milvxvhdh5skcwvpwsftz-mxqxx4_l8wyseaggucfns5kl03-dba8-s6hco_gbyc9jf7behdhzmshhbgom825is-av2ltghq6lcpsmy0g7phenuifnalgikuxoq",         "width" : 270      },      {         "height" : 518,         "html_attributions" : [            "\u003ca href=\"https://maps.google.com/maps/contrib/110354877626525435377/photos\"\u003efranck moulinier\u003c/a\u003e"         ],         "photo_reference" : "coqbdwaaaeu8v-gudxdjy8w04izvtvdb3k7ldhxmplzh24iiij88zm_cjklskwhj4rsqtgah8xttfrakiihh_l2gyzx8g2ouojn0lnoutaiue7zprft3rj6y20cgjnpdq7jccvog3dozp2vaa9rlhpsjs4iy1kjdai83e25wkaoklbdy43_0ehbzyphuv0elrkrchz7pgkf7ght-xz0hdarnfvlz8ozjxru9keil8a",         "width" : 800      },      {         "height" : 485,         "html_attributions" : [            "\u003ca href=\"https://maps.google.com/maps/contrib/110354877626525435377/photos\"\u003efranck moulinier\u003c/a\u003e"         ],         "photo_reference" : "coqbdwaaafkpeywipfiru2ccppifb_pmmhuinlanqgagrt6mj4fbsqdrjnw1mv3hp90twyb2xenedyaysellmri7bu5egqecvkvag_ixkwgbxxl9h5lke4z0o44kstjdpk4hqsg8nnbuf5lp_qe23mvb24r26pcs_j0_au4ftsnwirir_uy7ehazsylqszufi_1ajltg9fmaghqlzn2ukuijytpfvapvetjrgtutrg",         "width" : 840      },      {         "height" : 544,         "html_attributions" : [            "\u003ca href=\"https://maps.google.com/maps/contrib/110354877626525435377/photos\"\u003efranck moulinier\u003c/a\u003e"         ],         "photo_reference" : "coqbdwaaaa9cxa3nipj_jyyzugyvcfxgvurtnbu5ikwgcqyf1sr_adqj7s3neopyovebi0g7c6hfk5m7-yownxzrxh9hdesp7cx3am1sg34rb2mg-_wzxols-4z75dk060h7iusythz1bzsda3tv_skjyr7qkbkvzt2wcbicuvfnsstyccxdehcivonhvfnprtfnm42sh6g2ghrtke1cv6hxacvoiu9khr0torng3g",         "width" : 800      }   ], 

my question simple: how can add photos post place add request on google places api? place photos seems read-only.

edit: more specific, i'm calling google places api web-app in php.

have @ google business api. allows submit photos locations:

https://developers.google.com/my-business/reference/rest/v3/accounts.locations#location


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -