2016-06-07 1 views

답변

0

예, 그래프 API에 요청하여 해당 개체의 instant_article 필드를 요청할 수 있습니다.

예를 들어 다음과 같은 결과를 반환 할 것 NYT 기사에 대한 요청은 :

{ 
    "instant_article": { 
    "id": "1060796090661757" 
    }, 
    "id": "http://www.nytimes.com/2016/06/11/science/milky-way-light-pollution-dark-skies.html" 
} 

이에 대한 요청은 다음과 같습니다

GET https://graph.facebook.com/v2.6/?id=ARTICLE_URL&fields=instant_article&access_token=YOUR_ACCESS_TOKEN 
+0

사실은 모두 인스턴트에 대한 그래프 API에서 같은 답변을 얻을 및 비 - 인스턴트 기사. 요청 : 'GET https://graph.facebook.com/v2.6/?fields=instant_article&id=http://www.businessinsider.com/apple-releases-swift-playgrounds-for-learning-code-2016 -6 '(즉석 기사) 응답 : '{ "id": "http://www.businessinsider.com/apple-releases-swift-playgrounds-for-learning-code-2016-6" }' –

+0

다른 답변을받습니다. 예 : (URL 사용) https://developers.facebook.com/tools/explorer/?method=GET&path=%3Fid%3Dhttp%3A%2F%2Fwww.businessin%E2%80%8C%E2%80%8Bsider .com % 2 학습 플렛 - 풀 - 학습 코드 - 2016-6 % 26 필드 - 3Dinstant_article 및 버전 = v2.6 - IA 필드를 반환하므로 IA입니다. ID로 http://www.google.com을 사용하여 동일한 작업을 시도하면 해당 필드는 반환되지 않습니다. === IA가 아닙니다. –