function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RakesurRakesur 

getting error in installing "Force.com Toolkit for Facebook" app

Hi All,

 

I am getting below mention error in Toolkit Test Cases while installing "Force.com Toolkit for Facebook" package in my developer ORG. If any one has any clue on this, Please do let me know.

 

Regards,



 

System.QueryException: List has no rows for assignment to SObject
Class.FacebookObject.isAuthenticated: line 28, column 26
Class.FacebookObject.doAPICall: line 75, column 7
Class.FacebookUser.getActivityData: line 222, column 3
Class.FacebookUser.getActivityData: line 219, column 3
Class.FacebookTestUserController.getActivitiesData: line 102, column 3
Class.FacebookTestMethods.TestFacebookUserController: line 154, column 3
External entry point;
System.QueryException: List has no rows for assignment to SObject
Class.FacebookObject.isAuthenticated: line 28, column 26
Class.FacebookObject.doAPICall: line 75, column 7
Class.FacebookUser.getProfilePicture: line 131, column 3
Class.FacebookStandardController.getProfileImageUrl: line 100, column 10
Class.FacebookTestMethods.TestProfileImage: line 134, column 16
External entry point
lindulindu

I got the same error and it turned out to be that I hadn't changed the user.clientId in the FacebookTestUserController to the id that belonged to my application.