Status: Finished

Login na Api do mautic instalado no hostgator

Project details:
Budget: Open
Published: 3 months ago
Deadline: Not defined
Bids: 2
Interested freelancers: 2

Skills required: IT & Programming API PHP

Description:
Preciso integrar o mautic via OAUTH API com minha aplicação, A integração em si já está pronta, mas a conexão com a API do mautic está com problema

Preciso portanto ter acesso a API do mautic via OAUTH. Para ser mais direto, preciso que o código PHP abaixo imprima "ok" ao invés de imprimir "erro"

// Initiate the auth object
$auth = ApiAuth::initiate(array(
'baseUrl' => $this->baseurl,
'version' => 'OAuth1a',
'clientKey' => $this->apkey,
'clientSecret' => $this->appsecret,
'callback' => 'startinvestimentos.com/mautic_test'
));

try{
if ($auth->validateAccessToken()) {
if ($auth->accessTokenUpdated()) {
$accessTokenData = $auth->getAccessTokenData();
//store access token data however you want
}
}
echo 'ok';
} catch (Exception $ex) {
echo 'erro';
}

Category: IT & Programming
Subcategory: Web Development
Is this a project or a position?: A project
I currently have: I have specifications
Experience in this type of project: Yes (I have managed this kind of project before)
Required availability: As needed
Roles needed: Developer

Create your own project

Are you looking for a freelancer to work on a similar project? Create your own project and you'll receive proposals from the best freelancers.

Create a similar project

Client:

Start
(Rating 5.00 out of 5)
Location: Brasil
To find out more about this client, login to Workana.
Loading...