Get Satisfaction
imported this topic into its internal tracking system, Zendesk.
Problem with fastpass link
Hi .. I am getting some strange responses when i try to use a fastpass link.
1.) Using a direct PHP link:
Using the PHP library, I am able to successully create a link like the following:
http://getsatisfaction.com/fastpass?o...
Debugging this link in the debugger on the fastpass page tells me:
The page which loads up however looks like the following:
.. which looks like it might work if it where inside script tags?
anyhu .. then i tried with the javascript method (which worked a little better)
* in my footer I have:
I create the link like so:
.. which generates what looks like an htmlencoded url ..
at least this time it will actually get me to get Satisfaction (instead of dumping javascript all over my screen), and it shows the 'return to Yola' link ... and that works, but no form of logging in is occurring .. in fact, it is killing my existing (different) session ...
debugging this url give me:
I'm a little confused at this point .. are the mistakes on my side/problems with the way that I have implemented this? .. or are they on GSFN?
Currently I am testing locally, but if you ping me I can point you to a staging environment.
1.) Using a direct PHP link:
Using the PHP library, I am able to successully create a link like the following:
http://getsatisfaction.com/fastpass?o...
Debugging this link in the debugger on the fastpass page tells me:
Debug Results - Success
Details
* Fastpass URL was valid
* No user account for myemail@mydomain.com exists. It will be created if this fastpass is used.
* Consumer Key was correct
* Consumer Key has Fastpass access
Extracted Data
--- !map:HashWithIndifferentAccess
name: sadfsasdf
twitter_name: nullstyle
uid: aValidUuid
email: myemail@mydomain.com
The page which loads up however looks like the following:
var GSFN;
if(GSFN == undefined) {
GSFN = {};
}
GSFN_fastpass = true;
GSFN.fastpass_url = ...
GSFN.return_url = "http:\/\/getsatisfaction.com\/yola\/admin\/fastpasses\/debug";
GSFN.fastpass_nonce = "0750c32dc2d4e6a7547840a3aded2caa";
GSFN.company_url = "http:\/\/getsatisfaction.com\/yola";
GSFN.company_name = "Yola";
GSFN.company_cname = "";
GSFN.wait_for_common_code = function() {
if(GSFN.fastpass_common_loaded) {
GSFN.rewrite_satisfaction_urls_if_needed();
} else {
setTimeout(GSFN.wait_for_common_code, 100);
}
};
setTimeout(GSFN.wait_for_common_code, 100);
.. which looks like it might work if it where inside script tags?
anyhu .. then i tried with the javascript method (which worked a little better)
* in my footer I have:
FastPass::script(CONSUMER_KEY, CONSUMER_SECRET, UserDetails()->email, UserDetails()->name, UserDetails()->id, false, array("twitter_name" => "nullstyle"));
I create the link like so:
href="javascript:GSFN.goto_gsfn();"
.. which generates what looks like an htmlencoded url ..
at least this time it will actually get me to get Satisfaction (instead of dumping javascript all over my screen), and it shows the 'return to Yola' link ... and that works, but no form of logging in is occurring .. in fact, it is killing my existing (different) session ...
debugging this url give me:
Debug Results - Failed
Details
* Fastpass signature was invalid
* Consumer Key was not found in the database
I'm a little confused at this point .. are the mistakes on my side/problems with the way that I have implemented this? .. or are they on GSFN?
Currently I am testing locally, but if you ping me I can point you to a staging environment.
6
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company marked this problem solved.
-
Inappropriate?Working on getting you some help with this. Will try to get a response for you as soon as possible.
-
Inappropriate?How did you get to the debugger? The documentation for all of the API stuff is really, really bad / fragmented. very frustrating.
I’m frustrated
-
Inappropriate?@craig: you have to login (and have admin rights for your company) then it's at:
http://getsatisfaction.com/{your company name}/admin/fastpasses
(it's at the bottom of the page)
you can also download the libraries from there -
Inappropriate?Still trying to rope someone into this, Christo. Sorry for the delays.
-
Inappropriate?update: so, it would look like it actually might be working ... I thought that direct links were required (using FastPass::url()), however, it appears that simply including the script in the footer (FastPass::script()). is doing the trick ... :^) it does seem to be somewhat erratic (sometimes it logs the user in, sometimes it prompts them, sometimes it logs an existing user out, but does not prompt them (but does include the return link back to our site) ... )
I’m unsure
-
Christo, were you able to work out all your kinks? -
Hey Thor. yup. it seem to be working. Thanks! -
Great! Call on me directly if you need anything: thor at getsatisfaction.com
Loading Profile...



EMPLOYEE
