创建 Facebook 事件 - 图谱 API [英] Creating Facebook Event - Graph API

查看:22
本文介绍了创建 Facebook 事件 - 图谱 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我获得了具有管理事件等正确权限的访问令牌.但是,以下内容:

I have gotten the access token with the correct permissions to manage events etc. However, the following:

https://graph.facebook.com/{pageID}/events?access_token=xxxx&name%3Dtest%26description%3Dtest%2520description

(我没有在此处包含凭据)

(I have not included the credentials here)

经过测试,上述内容不会为事件创建名称值或描述 - 页面仅返回一个空白数据对象.

Upon testing the above does not create a name value or description for the event - the page just returns a blank data object.

是否可以通过浏览器地址栏为事件创建一些测试数据,如果可以,正确的语法是什么?

Is it possible to create some test data for an event through the browser address bar and if so what is the correct syntax?

推荐答案

我也花了很长时间来解决这个问题.

I spent a long time battling this too.

TL;DR - 图 v1.0 允许创建事件,图 v2.0 不允许.

Facebook Graph API 1.0事件"允许您创建事件(所有 CRUD 操作)并在文档中进行了完整描述.Graph 2.0 版 不允许您 CRUD 事件数据.这是另一个答案的来源.

Facebook Graph API 1.0 "events" allows you to create events (all CRUD actions) and is fully described in the docs. Graph version 2.0 does not allow you to CRUD event data. This is where the other answer came from.

Graph 1.0 版将于 2015 年 4 月 30 日弃用(官方变更日志).

Graph version 1.0 will be depricated April 30, 2015 (official changelog).

这篇关于创建 Facebook 事件 - 图谱 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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