用于开源CMS的Facebook API密钥 [英] Facebook API key for an open source CMS

查看:184
本文介绍了用于开源CMS的Facebook API密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在制作CMS,我想使用一些Facebook功能。

I'm currently making a CMS and I would like to use some Facebook functionnalities.

问题是我需要一个API密钥。所以我想知道,如果我有一个API密钥可以与我的开源cms项目与任何人共享?

The problem is that I need an API Key for that. So I'm wondering that if I have an API Key can I share it with my open source cms project to anyone? And can anyone use it with my CMS?

推荐答案

您有两个选项。


  1. 为CMS的每次安装创建一个应用程序,然后在CMS配置文件中设置应用程序密钥和ID。

  1. Create an app for each installation of the CMS, then set app secret and ID in the CMS configuration file.

如果您希望所有安装程序都安全地使用同一个应用程序,您将需要一个环回服务器(即CMS安装程序将呼叫您的服务器,然后呼叫Facebook并返回结果)。


If you want all installations to use the same app securely you will need a loop back server (i.e. the CMS installation makes a call to your server, which in turn makes a call to Facebook and returns the results).

这篇关于用于开源CMS的Facebook API密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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