getresponse / getresponse-api-php Goto Github PK
View Code? Open in Web Editor NEWGetResponse API v3 wrapper.
GetResponse API v3 wrapper.
I am not sure if this call pulls all the custom fields from the account but I wanted to just pull the custom field ID from one custom field based on the name that I am looking for, example:
$getresponse->getCustomFields(array(
'fields' => 'thefieldname'
));
Am I making this call correctly ?
In the instance where a matching method has not yet been created it should be possible to use the call() and setParams() methods to make your own API call. Unfortunately, because they are set as private you can't call them. In addition, private methods are not accessible when inherited so you can't extend the class either. Perhaps this is why there are so many forks?
I would recommend changing call() and setParams() to public methods. As an alternative, they could be set to protected methods and alternative methods defined to access those methods.
To create newsletter I should specify fromFieldId but I can't get from-fileds list (and their IDs) using this lib.
Hi, is there any similar lib for ruby ?
Hi, thanks for code geat,
How to add a url to a contact and phone. This is my code
$result = $getresponse->addContact(array(
'name' => 'thanhansoft',
'email' => '[email protected]',
'href' => 'http://href.fdola.com', //not work
'url' => 'http://url.fdola.com', //not work
'phone' => '+485865430923', //not work
'dayOfCycle' => 0,
'campaign' => ['campaignId' => '123ABC'],
));
But three field: href, url, phone not save in contact.
Please help me!
public function getRSSNewsletters() { $this->call('rss-newsletters', 'GET', null); }
$getresponse = new GetResponse('....');
$getresponse->enterprise_domain = '....';
$getresponse->api_url = 'http://api.getresponse360.com/';
$result = $getresponse->accounts();
print_r($result);
В результате сервер не чего не отдает.
I got this error. please tell me how can I fix it.
stdClass Object
(
[httpStatus] => 403
[code] => 1023
[codeDescription] => Access forbidden
[message] => Access Forbidden! You have no access to campaign: rmpnews
[moreInfo] => https://apidocs.getresponse.com/en/v3/errors/1023
[context] => Array
(
)
[uuid] => d9368cbc-680a-4102-9f08-633e5728c101
)
There is a missing method to only update custom fields of contact, as documented here: https://apidocs.getresponse.com/v3/resources/contacts#contacts.upsert.custom-fields
I have tested with php version 5.6.19 & 5.2.0 (windows, cURL is active) and got blank response data.
But it worked fine with php version 7 (ubuntu, cURL is active). Are there any additional configuration required for windows or any dependencies to be installed?
getNewsletters() should implement https://apidocs.getresponse.com/v3/resources/newsletters#newsletters.get.all
getNewsletter($id) should implement https://apidocs.getresponse.com/v3/resources/newsletters#newsletters.get
I am happy to write these if made a contributor.
Hi there,
I've been trying to get integrated and found the issue. It seems that I can only get the client to work when adding the following option to curl config
CURLOPT_SSL_VERIFYPEER => false,
I'm using PHP 5.4.45-1~dotdeb+6.1 (cli) (built: Sep 4 2015 23:33:03)
Could you please add this option to the class?
Thanks
Use this URL or click above : https://github.com/RajuHarry/GetResponse-API-V3-PHP.
Hello, where I can see the custom field id?
For example of the phone field
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.