简体   繁体   English

Facebook在尝试生成代码时给我错误

[英]Facebook gives me error when trying to generate code

I want to post to my facebook wall via the api/php. 我想通过api / php发布到我的Facebook墙。 Im following steps found via google. 我遵循通过谷歌找到的步骤。

So the first step was to log into facebook, create an app to get the appid. 因此,第一步是登录Facebook,创建一个应用以获取该appid。 I did that, it then says to go here: https://login.facebook.com/code_gen.php?api_key=APIKEY&v=1.0 so I can generate the code so you can go to the next step. 我这样做了,然后说去这里: https : //login.facebook.com/code_gen.php?api_key=APIKEY&v=1.0,所以我可以生成代码,以便您可以进行下一步。 I replace APIKEY with the api key from the app I just created and everytime I try to go to that url I get the error: 我用刚创建的应用程序中的api密钥替换了APIKEY,每次尝试访问该URL时都会收到错误消息:

An error occurred. 发生错误。 Please try again later. 请稍后再试。

What am I doing wrong? 我究竟做错了什么?

Well I decided to go a different route, I used the graph api for Facebook instead of the original way I was going. 好吧,我决定走另一条路,我使用了针对Facebook的graph api,而不是原来的做法。 Here is a link that helped me figure it out: 这是一个帮助我弄清楚了的链接:

Oath2 Facebook Example Oath2 Facebook示例

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Facebook身份验证给我错误 - Facebook authentication gives me error 尝试访问服务器上的“ /”时,Apache给我403错误 - Apache Gives me 403 Error when trying to access “/” on server 我试图在YII中使用GII功能,但是当我打开gii页面时它给了我错误 - I am trying to use GII feature in YII, but it gives me error when I am opening the gii page WordPress网站给我301错误,下面有页面代码。 页面刷新时有效 - Wordpress site gives me 301 error with page code under it. Page works when refreshing 我正在尝试在Joomla中添加插件,这给了我一个致命错误 - I am trying to add a plugin in Joomla and it gives me a fatal error 我正在尝试使用 php 连接到 mysql 数据库,但它给了我一个错误 - I'm trying to connect to mysql database with php, but it gives me an error mysql在尝试更新时给出错误 - mysql gives error when trying to update 我有一个PHP代码,在执行时会给出错误。 谁能指出我的错误。 - I have a PHP code which gives and error when executing. Can anyone point me out the error please. 我正在尝试运行下面的代码,但它给了我这个错误:尝试在第47行的c:\\ xampp \\ htdocs \\…\\ index.php中获取非对象的属性 - I am trying to run the code below but it gives me this error: Trying to get property of non-object in c:\xampp\htdocs\…\index.php on line 47 在PHP代码上发送HTML电子邮件会给我一个语法错误 - Sending an HTML email on a PHP code gives me a Syntax Error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM