使用旧的Facebook GraphAPI v1.0为新的应用程序

编程入门 行业动态 更新时间:2024-10-18 10:22:26
本文介绍了使用旧的Facebook GraphAPI v1.0为新的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

目前,我们正在开发基于旧的GraphAPI的应用程序 - 现在称为GraphAPI v1.0。

currently we are developing an App based on the old GraphAPI - now called GraphAPI v1.0.

现在我想知道GraphAPI v1的含义。 0仍将支持一年。 我们的重要问题是:可以在几个星期内使用旧的v1.0启动新的应用程序吗?还是Facebook会拒绝该应用程序,因为我们不使用新的应用程序? 我没有发现FB支持文件中的旧API,FB开发组中的答案也不清楚。

Now I'm wondering what is meant by "GraphAPI v1.0 will still be supported for one year". The important question for us: Is it possible to launch the new app in a few weeks using the old v1.0? Or will Facebook refuse the app because we don't use the new one? I did not find anything concerning the old API in the FB support documents and the answers in the FB dev group aren't clear neither.

任何人都知道更多关于那个? 提前感谢

Anyone knows more about that? Thanks in advance!

推荐答案

如果您在2014年4月30日之前创建并使用该应用,则可以使用API v1.0至2015年4月30日

If you created and were using the app before April 30th 2014, you can use API v1.0 until April 30th, 2015

如果您在2014年4月30日或之后创建了该应用,或者应用程式为旧,但没有任何活动,则必须使用v2。 0并且无法从该应用程序ID调用版本1.0

If you created the app on or after April 30th 2014, or the app is old but had no activity, you must use v2.0 and cannot call version 1.0 from that app ID

调用 /v1.0/<something> 将给出与在v2.0发布之后创建的应用程序调用 /v2.0/<something> 相同的行为

Calling /v1.0/<something> will give the same behaviour as calling /v2.0/<something> for an app which was created after v2.0's release

在这里有一个文档,有关如何在API中实现版本控制以及如何在应用程序中使用的详细信息: developers.facebook/docs/apps/versions#calling_older_versions

There's a document here with more information about how versioning is implemented in the API and how to use it in apps: developers.facebook/docs/apps/versions#calling_older_versions

更多推荐

使用旧的Facebook GraphAPI v1.0为新的应用程序

本文发布于:2023-11-07 05:54:06,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1565705.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   Facebook   GraphAPI

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!