Help get this topic noticed by sharing it on
Twitter,
Facebook, or email.
Twitter,
Facebook, or email.
PHP SDK for appAPI
I have seen the new feature that allows appAPI integration onto my web site via js. Any plans to include a php sdk? Our extension calls an api that checks authentication. This authentication should be known by the extension, but unfortunately it is not. We store authentication data as a cookie on our domain, but of course the extension has no access to this. The ability to communicate with the appAPI.db methods would be terrific! I would be willing to contribute to the library since I would find it useful :)
-
EMPLOYEE
1Hey Matt,
Not sure how php sdk can communicate with the extension.. by definition the extension is on the client side so I don't see how it can communicate with the php code directly from server-side (something that can be done is the php will generate JS code that will communicate with the extension but again, this communication will be at the client-side).
I would love to hear your thoughts about this and what is the best solution for you. As I'm personally less familiar with php, I will appreciate your help in here :)
Quick note re handling your own site cookies:
After you have verified your domain, you can freely read cookies from this domain. The way to do it is:
var read_cookie = appAPI.mysite.cookie('my-cookie');
appAPI.mysite.cookie('my-cookie2', 'some-data'); -
Loading Profile...




