如何设置您自己的 Facebook 应用程序
我看过很多关于设置 Facebook 应用程序的教程 但我还没有找到任何对我有用的东西 我发现的最好的是 YouTube 上的教程,链接如下 http://www.youtube.com/watch?v=zxIl4fUIXS4&feature=fvwrel
我不太确定我在做什么,因为我对使用 php 不太了解 我确实知道如何
在教程中使用asp.net和iis他有一个从PHP SDK下载的facebook.php和index.php
我下载了facebook.php 并在我的记事本上输入他的index.php的内容并保存为index.php 这两个文件都在我的//localhost/facebook/firstpracticeapp/ 上找到,
我确实尝试过该路径有效,我在其中放入了一个sample.html 文件,并在浏览器上访问,使用下面的方法来查看它是否有效,并且确实有效。 //localhost/facebook/firstpracticeapp/sample.html
现在我知道它可以工作,然后设置我
使用的应用程序的详细信息 http: //localhost/facebook/firstpracticeapp/ 作为 Canvas URL
使用 http://apps.facebook.com/firstpracticeapp 作为画布页面
顺便说一句,我编辑了index.php,如教程中所述,将应用程序秘密和应用程序ID更改为给我的内容...
不太确定我错过了什么,但它在教程上说,如果我在浏览器上运行使用我的画布页面,它应该显示教程上显示的
唯一内容是我收到的错误是
HTTP 错误 405.0 - 不允许的方法
由于使用了无效方法(HTTP 谓词),因此无法显示您正在查找的页面。
Detailed Error Information
Module DirectoryListingModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x80070001
Requested URL http:// localhost:80/facebook/firstpracticeapp/
Physical Path C:\FILES\Projects\facebook\firstpracticeapp\
Logon Method Anonymous
Logon User Anonymous
有人可以告诉我问题是什么吗? 我认为它是 php 我没有足够的信息来了解如何使用它 我对教程上的内容做了不同的处理,因为我不知道 phpacademy 的用途是什么,
如果你们知道更好的链接,该链接更详细,请回复链接
顺便说一句,如果您在 http 之后发现空格,因为我不能发布超过 2 个链接,所以我决定在那里留出空间:)
非常感谢
ive seen many tutorials on setting up your facebook app
but i havent found anything that worked for me
best i found is a tutorial in youtube on link below
http://www.youtube.com/watch?v=zxIl4fUIXS4&feature=fvwrel
im not really sure on what im doing sice i dont know much about using php
i do know how to use asp.net and iis
in the tutorial he have a facebook.php downloaded from PHP SDK and index.php
i downloaded the facebook.php
and typed the content of his index.php on my notepad and saved as index.php
both file is found on my //localhost/facebook/firstpracticeapp/
i did try that that path works i put a sample.html file inside that and accessed is on browser using below just to see if it works and it does..
//localhost/facebook/firstpracticeapp/sample.html
now that i know it works i then setup the details of my app
used http://localhost/facebook/firstpracticeapp/ as Canvas URL
used http://apps.facebook.com/firstpracticeapp as Canvas Page
btw i edited the index.php as said on tutorial changing the app secret and app id to what was given to me...
not really sure what i missed but it says on tutorial if i run use my canvas page on browser it should display what is displayed on the tutorial
only thing i get is an error saying
HTTP Error 405.0 - Method Not Allowed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.
Detailed Error Information
Module DirectoryListingModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x80070001
Requested URL http:// localhost:80/facebook/firstpracticeapp/
Physical Path C:\FILES\Projects\facebook\firstpracticeapp\
Logon Method Anonymous
Logon User Anonymous
can someone tell me what seems to be the problem?
im thinking its the php i dont have enough info on how to use it
and i did it differently on what was on the tutorial cause i dont know idea what that phpacademy is for
if you guys know better link which is more detailed please reply with link
btw if you found spaces after http its because i cant post more than 2 links so i decided to put space there :)
many thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
...没关系,我使用的是过时的信息。
...nevermind, I was using out of date info.