Welcome to the Ifbyphone Developers zone. This forum provides a place for the community of advanced Ifbyphone users and developers to share ideas, exchange code, and ask questions.  

Additional Resources

Ifbyphone Company Blog - Ifbyphone Twitter Page - Ifbyphone Company Web Site - Ifbyphone Partners Page
Ifbyphone's CEO's (Irv Shapiro's) Personal Blog - Irv Shapiro Twitter Page

It has been brought to our attention that the NEW MEMBER link does not always display in IE7. If you do not see the new member link in the login box on the right, please try another browser. (Firefox works fine.) In addition please note that Phonemashup accounts are completely separate from Ifbyphone accounts.

If you need help fast, call 877 295 5100 to reach the Ifbyphone "Success Team".   (Support is option 2.)

Members Login
Username 
 
Password 
    Remember Me  
Chatbox
Please log in to join the chat!
Post Info TOPIC: About Private Key


Newbie

Status: Offline
Posts: 2
Date: Dec 31, 2009
About Private Key
  
 


Hi All,I am php developer and I am setting API for survo form but I am getting error of missing action variable and private key...Please give me your suggestion ..I am using following code..

<?php
require ("utilities.php") ;
require ("webrequest.php") ;
// create web request object

$test = new webrequest( "secure.ifbyphone.com/ibp_api.php" );
//$test = new webrequest( "secure.ifbyphone.com/click-to-xyz.php" ) ;
// add parameters

$test->addParameter("key","foofoofoo"); // "API key"
$test->addParameter("app","cts") ;
$test->addParameter("acct","74481");
$test->addParameter("survo_id","131201");
$test->addParameter("p_t","mykey");
$test->addParameter("scheduleonly","");
$test->addParameter("phone","46456456456");
$test->addParameter("sdate","2009-12-30+03%3A20");
$test->addParameter("edate","2009-12-30+03%3A25");
$test->addParameter("tz","Eastern");
$test->addParameter("dstime","00%3A00");
$test->addParameter("detime","23%3A59");
$test->addParameter("type","2");
$test->addParameter("attempts","3");
$test->addParameter("retry","5");
$test->addParameter("cid","53453453534");

$test->addParameter("user_parameters","business_name%7Cfdfdfdf%7C%7Coffice_name%7Cdfsdfsdfsdf%7C%7Ccaller_designation%7Cdoctor");


// send to Ifbyphone
$test->send() ;
// print out response from Smart Form
print "\n==response==\n" . $test->read() . "\n" ;
$test->close() ;

?>

__________________


Veteran Member

Status: Offline
Posts: 58
Date: Jan 4, 2010
  
 

p_t is for pass through data. Use key= for your private or API key.

Let me know if that helps.

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Post to Facebook Post to Digg Post to Del.icio.us

This is an open and public forum so Ifbyphone is unable to ensure that all code and suggestions posted to this forum are correct. Please use all code posted here at your own risk. Ifbyphone assumes no liability for code, recommendations and suggestions posted to this forum.

Users and developers will find hundreds of useful posts at the Ifbyphone company blog.