【发布时间】:2013-03-20 12:19:42
【问题描述】:
我正在使用 ColdFusion 10、Windows 7 64 位、Railo 4 并安装了 Facebook CF SDK。当我尝试测试安装时,它会抛出这个错误:
Could not find the ColdFusion component or interface facebook.sdk.FacebookApp.
Ensure that the name is correct and that the component or interface exists.
The error occurred in C:/ColdFusion10/cfusion/wwwroot/facebook-cf-sdk/examples/website/index.cfm: line 34
32 : } else {
33 : // Create facebookApp instance
34 : facebookApp = new FacebookApp(appId=APP_ID, secretKey=SECRET_KEY);
35 :
36 : // See if there is a user from a cookie or session
如何修复此错误并将此 Facebook API 与 ColdFusion 集成?
【问题讨论】:
-
您如何使用 ColdFusion 10 和 Railo 4?应该是其中之一。你关注installation instructions for the Facebook CF SDK了吗?
-
它们可以同时运行。虽然很明显这个特定错误是在 CF10 下发生的。
标签: facebook api coldfusion coldfusion-10