Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access iJab API #33

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 0 comments
Open

Access iJab API #33

GoogleCodeExporter opened this issue Mar 26, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Using ijab-v1.0-beta3-2.zip can connect to ejabberd server and communicate 
fine - thanks
2. seek to access API
3. alert(window.iJab.getStatusText());

What is the expected output? What do you see instead?

Expect to receive the login user's status text.
error: window.iJab is not defined
error: document.iJab is not defined

Unable to access the API despite what is said here: 
http://opensource.ijab.im/node/90

What version of the product are you using? On what operating system?

files from ijab-v1.0-beta3-2.zip 
Linux

Please provide any additional information below.

The core javascript code used in this application has been obfuscated by using 
letters for function names, etc making it almost impossible to follow what you 
are seeking to achieve.  Therefore, it is almost impossible to see what needs 
to be done.

Unfortunately, this may cause us to move on to a competing product because we 
need to be able to exploit the xmpp connection within other elements of our 
system.

Any help you can give here as to how to access the API would be much 
appreciated.

Nick

Original issue reported on code.google.com by [email protected] on 12 Jul 2011 at 9:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant