6.0.0-beta1
7/8/25

[#13171] Error validating FB access token
Summary Error validating FB access token
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester slusarz (at) horde (dot) org
Created 05/07/2014 (4080 days ago)
Due
Updated 05/15/2014 (4072 days ago)
Assigned 05/15/2014 (4072 days ago)
Resolved 05/15/2014 (4072 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/15/2014 09:55:32 PM Michael Rubinsky Comment #9
State ⇒ Resolved
Reply to this comment
Since we can't differentiate between the two cases (expired vs 
non-existent) with the current code, I tweaked the language to 
indicate either are a possibility.
05/15/2014 09:54:30 PM Git Commit Comment #8 Reply to this comment
Changes have been made in Git (master):

commit 97ac89b54f54d7b6df8c0a2eef480ece275943d3
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Thu May 15 17:53:45 2014 -0400

     Tweak language.

     Bug: 13171

  horde/templates/prefs/facebook.html.php |    7 ++++---
  1 files changed, 4 insertions(+), 3 deletions(-)

http://github.com/horde/horde/commit/97ac89b54f54d7b6df8c0a2eef480ece275943d3
05/15/2014 09:26:55 PM Michael Slusarz Comment #7 Reply to this comment
"Could not find authorization for to interact with your Facebook account."

That's confusing to me since I have setup authorization in the past.   
There should at least be some mention of expiration... instead (to me) 
this looks like the message you would get in a pristine installation.
05/15/2014 04:31:22 PM Michael Rubinsky Comment #6
State ⇒ Feedback
Reply to this comment
Do you remember what you DID see on the Facebook pref screen? For me, 
it displays that I need to login and reauthorize Horde to connect.
05/13/2014 02:25:51 PM Michael Rubinsky Comment #5
Assigned to Michael Rubinsky
Taken from Michael Slusarz
State ⇒ Assigned
Reply to this comment
Assume this is fixed now?
Not really.  There's no indication anywhere in Horde that the token 
has expired.
It used to display that on the Facebook preference screen. I'll take a 
look and see why this is no longer happening.
05/13/2014 06:28:29 AM Michael Slusarz Comment #4
State ⇒ Feedback
Reply to this comment
Assume this is fixed now?
Not really.  There's no indication anywhere in Horde that the token 
has expired.

I'm assuming I need to re-authenticate to Facebook (?) via the 
preferences, but I would think at a minimum there should be something 
on that page indicating the existing token has expired.
05/09/2014 04:08:19 PM Michael Rubinsky Comment #3
Assigned to Michael Slusarz
Taken from Michael Rubinsky
State ⇒ Resolved
Reply to this comment
Assume this is fixed now?
05/07/2014 07:14:09 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 1e61b6d1b084cc68aeead6d7af9d4bbab4362f0e
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed May 7 13:06:03 2014 -0600

     Should not be throwing exception if an individual search driver fails

     See Bug #13171 : My search results suddenly became empty because one of
     my search drivers (Facebook) suddenly started failing.  For a remote API
     call, we should be trying to return as many matches as possible while
     ignoring errors.

  turba/lib/Api.php |   23 ++++++++++++++---------
  1 files changed, 14 insertions(+), 9 deletions(-)

http://github.com/horde/horde/commit/1e61b6d1b084cc68aeead6d7af9d4bbab4362f0e
05/07/2014 07:08:09 PM Michael Slusarz Comment #1
Patch ⇒ No
State ⇒ Assigned
Milestone ⇒
Assigned to Michael Rubinsky
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Error validating FB access token
Queue ⇒ Horde Framework Packages
Reply to this comment
Seeing this error when trying to do search in Turba.  Not really sure 
what (if anything) we can do about it.

2014-05-07T13:04:52-06:00 ERR: HORDE [turba] Error validating access 
token: Session has expired on May 5, 2014 10:48pm. The current time is 
May 7, 2014 12:04pm. [pid 4389 on line 142 of 
"/disk2/src/horde/framework/Service_Facebook/lib/Horde/Service/Facebook/Request/Graph.php"]
2014-05-07T13:04:52-06:00 DEBUG: HORDE  1. 
Horde_Core_Ajax_Application->doAction() 
/disk2/src/horde/horde/services/ajax.php:57
  2. call_user_func() 
/disk2/src/horde/framework/Core/lib/Horde/Core/Ajax/Application.php:175
  3. Horde_Core_Ajax_Application_Handler_Imple->imple()
  4. Horde_Core_Ajax_Imple->handle() 
/disk2/src/horde/framework/Core/lib/Horde/Core/Ajax/Application/Handler/Imple.php:31
  5. Horde_Core_Ajax_Imple_AutoCompleter->_handle() 
/disk2/src/horde/framework/Core/lib/Horde/Core/Ajax/Imple.php:120
  6. 
Horde_Core_Ajax_Imple_ContactAutoCompleter->_handleAutoCompleter() 
/disk2/src/horde/framework/Core/lib/Horde/Core/Ajax/Imple/AutoCompleter.php:59
  7. Horde_Core_Ajax_Imple_ContactAutoCompleter->getAddressList() 
/disk2/src/horde/framework/Core/lib/Horde/Core/Ajax/Imple/ContactAutoCompleter.php:46
  8. Horde_Registry->call() 
/disk2/src/horde/framework/Core/lib/Horde/Core/Ajax/Imple/ContactAutoCompleter.php:71
  9. Horde_Registry->callByPackage() 
/disk2/src/horde/framework/Core/lib/Horde/Registry.php:1063
10. call_user_func_array() 
/disk2/src/horde/framework/Core/lib/Horde/Registry.php:1106
11. Turba_Api->search()
12. Turba_Driver->search() /disk2/src/horde/turba/lib/Api.php:1191
13. Turba_Driver_Facebook->_search() /disk2/src/horde/turba/lib/Driver.php:636
14. Turba_Driver_Facebook->_getAddressBook() 
/disk2/src/horde/turba/lib/Driver/Facebook.php:99
15. Horde_Service_Facebook_Auth->getLoggedInUser() 
/disk2/src/horde/turba/lib/Driver/Facebook.php:209
16. Horde_Service_Facebook->callGraphApi() 
/disk2/src/horde/framework/Service_Facebook/lib/Horde/Service/Facebook/Auth.php:160
17. Horde_Service_Facebook_Request_Graph->run() 
/disk2/src/horde/framework/Service_Facebook/lib/Horde/Service/Facebook.php:210

Saved Queries