Cannot read phone field of a page even though App has "Page Public Content Access" and phone is publically accessible in web front -end
1

API does not return field phone of a page even though the App has "Page Public Content Access" premissions and the phone field is populated.

`/tmp$ curl -i -X GET "https://graph.facebook.com/v20.0/182970558386607?fields=id%2Cabout%2Cphone%2Cname%2Cwebsite%2Clink%2Chours%2Clocation%2Cemails&access_token=1123213867(cut-off for privacy)%7C(secret removed)" HTTP/2 200 etag: "a35611764f5bde5c83d7d041ff5c01f56efa4734" content-type: application/json; charset=UTF-8 vary: Origin vary: Accept-Encoding cross-origin-resource-policy: cross-origin x-app-usage: {"call_count":2,"total_cputime":0,"total_time":1} access-control-allow-origin: * facebook-api-version: v20.0 strict-transport-security: max-age=15552000; preload pragma: no-cache cache-control: private, no-cache, no-store, must-revalidate expires: Sat, 01 Jan 2000 00:00:00 GMT x-fb-request-id: AlE22PF-iP_hD_KOHDousLK x-fb-trace-id: AQ+v6xBPZ3y x-fb-rev: 1016325163 x-fb-debug: fWw05bEWnb4cGR08K/1GABxq2X52w+900XwnlNumAG6MIYfF6UcqHyrwpLE1PFAIjH7TlK1pDzUtreVx5Ytjlw== x-fb-server-load: 65 date: Mon, 09 Sep 2024 15:00:11 GMT x-fb-connection-quality: EXCELLENT; q=0.9, rtt=14, rtx=0, c=10, mss=1380, tbw=3593, tp=-1, tpl=-1, uplat=122, ullat=0 alt-svc: h3=":443"; ma=86400

{"id":"182970558386607","about":"Est. 1919\nVom Rohbau bis zum Innenausbau und Holz im Garten - alles aus einer Hand","name":"Holz Adrian","website":"http:\/\/www.holz-adrian.de\/","link":"https:\/\/www.facebook.com\/182970558386607","hours":{"mon_1_open":"07:00","mon_1_close":"17:00","tue_1_open":"07:00","tue_1_close":"17:00","wed_1_open":"07:00","wed_1_close":"17:00","thu_1_open":"07:00","thu_1_close":"17:00","fri_1_open":"07:00","fri_1_close":"17:00"},"location":{"city":"Hockenheim","country":"Germany","latitude":49.34294,"longitude":8.53732,"street":"1. Industriestra\u00dfe 14","zip":"68766"}}`

phone is requested in the field list but not included in the response

https://www.facebook.com/182970558386607/ has the phone number and it is accessible publically

Jochen
Вопрос задан около месяца назад