javascript页面通过api / javascript sdk的部分 [英] Shop section of facebook pages through api/javascript sdk

查看:131
本文介绍了javascript页面通过api / javascript sdk的部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Facebook为Facebook页面介绍了一个商店部分。我需要通过javascript sdk来管理我的页面的商店部分,但是我无法找到这个提示器文档或参考。我知道如何通过使用FB.api的post方法通过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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆