Facebook使用图形API的“呼吁行动”按钮 [英] Facebook Post Call to Action button using Graph API

查看:241
本文介绍了Facebook使用图形API的“呼吁行动”按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Facebook Graph API为帖子添加Call To Action?是可能还是免费?
提前感谢

How can I add a "Call To Action" for a post using Facebook Graph API? Is it possible or is it free? Thanks in advance.

推荐答案

这在官方文档中很好解释: https://www.facebook.com/help/312169205649942

This is explained very well in the official docs: https://www.facebook.com/help/312169205649942

...或在本文中: https://www.facebook.com / business / news / call-to-action-button

...or in this article: https://www.facebook.com/business/news/call-to-action-button

Afaik现在无法使用Graph API进行此操作。

Afaik there is no way to do this with the Graph API right now.

编辑:我的坏,我以为这是关于页面标题中的这个号召性用语按钮。绝对有可能通过编程方式将一个号召性用语按钮添加到页面页面中,您只需要添加一个页面页面的链接。我在API资源管理器中尝试过,只需更换页面ID,并确保使用页面令牌与 publish_pages 权限:

My bad, i thought it would be about that call to action button in the Page header. It is definitely possible to programmatically add a call to action button to a Page post, you just need to include a link to the Page post. I´ve tried it in the API Explorer, just replace the Page ID and make sure you are using a Page Token with the publish_pages permission:

https://developers.facebook.com/tools/explorer/?method=POST&path=[PAGE-ID]%2Ffeed&version=v2.5&message=test&link=http%3A%2F%2Fwww.devils-heaven.com&call_to_action={%22type%22%3A%22SHOP_NOW%22%2C%22value%22%3A{%22link%22%3A%22http%3A%2F%2Fwww.devils-heaven.com%22}}

指定这里: https://developers.facebook.com /docs/marketing-api/mobile-app-ads/v2.5#cta_definitions

这篇关于Facebook使用图形API的“呼吁行动”按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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