Coder Social home page Coder Social logo

getresponse-api-php's Introduction

getresponse-api-php's People

Contributors

amodliszewski avatar gstruczynski avatar montewski avatar pmaslak avatar woojos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

getresponse-api-php's Issues

Call to getCustomFields question

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 ?

Make call() and setParams() public methods

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.

How to add URL field to a contact

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!

Пустой ответ

$getresponse = new GetResponse('....');
$getresponse->enterprise_domain = '....';
$getresponse->api_url = 'http://api.getresponse360.com/';
$result = $getresponse->accounts();

print_r($result);

В результате сервер не чего не отдает.

Access forbidden

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

)

Blank response data

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?

Add CURLOPT_SSL_VERIFYPEER option

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

Custom field id

Hello, where I can see the custom field id?
For example of the phone field

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.