javascript页面通过api / javascript sdk的部分 [英] Shop section of facebook pages through api/javascript sdk
问题描述
FB.api( / page_id_and_post_method,function(response){
console.log(PAGEEEEEE DETAILS,response);
});
所以,问题是我找不到那个店铺部分的正确字段名称以便更新它。
那么如何通过sdk / api阅读/更新我的页面的店铺部分,就像购物做的一样,我们可以在下面看到:
https:/ /www.facebook.com/Womansera/shop?ref=page_internal&rid=221671794535129&rt=9
这是Facebook正在测试的功能,Shopify是合作伙伴(或许还有其他几个)。
它不适用于其他第三方应用而
Facebook introduced a shop section for facebook pages. I need to manage my page's shop section through javascript sdk but I am unable to find the propoer docs or reference to do that. I know how to manage or update simple fields of your pages through sdk with post method using FB.api:
FB.api(/page_id_and_post_method, function(response) {
console.log("PAGEEEEEE DETAILS", response);
});
So, the problem is that I just could not find the proper field name for that 'shop' section so as to update it.
So how can I read/update the 'shop' section of my page through sdk/api just as the shopify do as we can see below:
https://www.facebook.com/Womansera/shop?ref=page_internal&rid=221671794535129&rt=9
This is a feature that Facebook is testing right now, with Shopify as a partner (and maybe a few others.)
It is not available for other 3rd-party apps yet.
这篇关于javascript页面通过api / javascript sdk的部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!