Facebook's Graph API yog dab tsi?
Facebook's Graph API yog dab tsi?

Video: Facebook's Graph API yog dab tsi?

Video: Facebook's Graph API yog dab tsi?
Video: GraphQL Explained in 100 Seconds 2024, Kaum ib hlis
Anonim

Cov Graph API yog thawj txoj hauv kev kom tau txais cov ntaub ntawv nkag mus thiab tawm ntawm qhov Facebook platform. Nws yog qib qis HTTP-based API uas cov apps siv tau rau programmatically nug cov ntaub ntawv, tshaj tawm cov dab neeg tshiab, tswj kev tshaj tawm, upload duab, thiab ua ntau yam haujlwm.

Ntxiv mus, Facebook social graph API yog dab tsi?

A Facebook Graph API yog ib qho programming cuab yeej tsim los txhawb kev nkag mus rau ntau qhov kev sib tham ntawm lub Facebook social media platform. Lub hauv paus ntawm Facebook cov platform yog ib yam dab tsi hu ua " social graph , "uas yog lub luag haujlwm rau kev txhawb nqa txhua qhov kev sib raug zoo hauv online ntawm tib neeg, qhov chaw, khoom, thiab lwm yam.

Ib yam li ntawd, puas yog Facebook Graph API so? Yog, nws yog ib REST API ib yam nkaus. Yog, muaj 3 Facebook APIs mus rau hnub tim: Legacy REST . Graph API.

Ib yam li ntawd, vim li cas Facebook API hu ua graph API?

Cov Graph API yog npe tom qab lub tswv yim ntawm "social daim duab " - tus sawv cev ntawm cov ntaub ntawv ntawm Facebook . Nws yog tsim los ntawm: nodes - ib txwm ib tug neeg khoom, xws li ib tug neeg siv, ib tug Diam duab, ib nplooj ntawv, los yog ib tug Comment. teb - cov ntaub ntawv hais txog ib yam khoom, xws li tus neeg siv lub hnub yug, lossis nplooj ntawv lub npe.

Kuv yuav tau txais cov ntaub ntawv los ntawm Facebook Graph API li cas?

Mus mus txuas facebook .com/docs/ daim duab - api ib yog xav tau sau cov ntaub ntawv ntawm txhua yam uas muaj rau pej xeem. Saib facebook .com/docs/ daim duab - api ib /reference/v2.7/. Los ntawm cov ntaub ntawv no, xaiv txhua qhov chaw koj xav tau los ntawm qhov koj xav tau rho tawm cov ntaub ntawv xws li "pab pawg" lossis "nplooj" thiab lwm yam.

Pom zoo: