Skip to content
This repository was archived by the owner on Dec 28, 2021. It is now read-only.
This repository was archived by the owner on Dec 28, 2021. It is now read-only.

IContact api integration -"The application was not recognized. Possible reasons are: the Api-AppId was entered incorrectly; the application is not registered for that user. #2

@Rajendranar14

Description

@Rajendranar14

I have code like this,

require 'icontact-api'

class BetaApi < Icontact::Api

attr_accessor :key, :secret, :domain

API_USERNAME='my production Icontact user name'
API_PASSWORD='my production Icontact password'
API_KEY = 'My production app Id 32 key'
API_SECRET = 'My production app password(secret password) '
DOMAIN = "http://app.beta.icontact.com/icp"

def initialize(username = BetaApi::API_USERNAME, password = BetaApi::API_PASSWORD)
super(username, password)
self.key = API_KEY
self.secret = API_SECRET
self.domain = DOMAIN
end

end

@api = BetaApi.new
p @b= @api.get('/a')
p @c= @api.post('/a/1373573/c/9020/', 'test@gmail.com')

But I'm getting the below error, here what's wrong? Please help me ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions