Struggling with Facebook.php - facebook

I have downloaded the latest version of facebook.php from here:
https://github.com/facebook/php-sdk/
...and have uploaded facebook.php and base_facebook.php and I have my correct api and api secret.
I have followed the exact code from phpfour here:
http://phpfour.com/blog/2010/05/quick-start-on-new-facebook-php-sdk-iframe-based/
And yet I am still gettng this error:
Fatal error: Call to undefined method Facebook::getSession()
What am I doing wrong?
Any ideas?
TheBounder.

As stated in this post (look answer number 6) getSession no longer exists in the API and that is the reason why you are getting the error.

Related

ag-grid 'IToolPanel' is declared but its value is never read

after updating to version 19 and ag-grid-community package. I'm getting following error while running ng serve:
ERROR in node_modules/ag-grid-angular/src/interfaces.ts(20,5): error TS6133: 'IToolPanel' is declared but its value is never
read.
I couldn't find any other stackoverflow question / github issue created about it.
This issue happens when you have noUnusedLocals in your tsconfig enabled.
I've reported this to ag-grid team again and they recognized that as a bug. Fix should be released in v20 version by the end of 2018.

mulesoft: ERROR: ramlParser: loadPath: loadApi: content/[object Object]: no such path

I am using API Editor in Mulesoft and I am getting following error
ramlParser: loadPath: loadApi: content/[object Object}: no such path
It seems to be related to inclusions of libraries in main RAML such as:
uses:
myLibrary: !include libraries/myLibraryFile.raml
The libraries exist but still I am getting that error. Only if I remove the include the error goes.
Have any of you got same problem? How did you solve it?
Thanks folks!
When using "uses:" you don't have to put "!include" only the name of the library and the path (without "!include").
See
RAML- !include strange behavior
for a more detailed answer

Issues with updating iron-router to work with blaze

I have just updated meteor to blaze and followed the instructions to update iron-router to 0.7.0.
I'm getting this error:
Uncaught TypeError: Cannot call method 'path' of undefined router.js:160
Any ideas on what may have gone wrong?
I think this was related to the event-hooks package I was using. Removed that and all seems fine.

ShareKit 2.0 PBXCp Error iPhone?

I'm following all steps but when i build the project following error occurs
(null): error: /Users/faxxx/Desktop/LatestVersion (shareKit-2)/ShareKit-master/Classes/ShareKit/Sharers/Services/Buffer/../../../../../Submodules/buffer-ios-sdk/BufferSDK/BufferSDKResources.bundle: No such file or directory
and i can't sort out the problem i also googled it but did not understand the error
Can anyone please guide me how to solve this issue
and i am following this tutorial :
https://github.com/ShareKit/ShareKit/wiki/Installing-sharekit
Please tell me how can i add sharekit to my application

Facebook C# SDK

I'm starting out with the Facebook C# SDK and trying to run the MVC Sample on my test server and am running into the following error:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'Facebook.Web.Mvc.ViewUserControl'.
Source Error:
Line 1: <%# Control Language="C#" Inherits="Facebook.Web.Mvc.ViewUserControl" %>
Source File: /Views/Facebook/LoginButton.ascx Line: 1
I've set up several MVC 2.0 projects in the past and have followed the instructions on the getting started section on http://facebooksdk.codeplex.com/ (added and changed setting in web.config, etc.)
What am I missing in order to run the sample project(s).
You are using a very old sample from the SDK. The problem is that the class Facebook.Web.Mvc.ViewUserControl does not exist. That was only in a very early alpha build. I would recommend downloading the new sample to get started. You can get that here: http://facebooksdk.codeplex.com/releases/view/54371#DownloadId=160969