CakePHP-Copula / Linkedin

LinkedIn API support for Cakephp.
16 stars 9 forks source link

Add Messaging support #1

Open ProLoser opened 13 years ago

ProLoser commented 13 years ago

From inlet

Hi,

Thanks for the great plugin you wrote! Any suggestions how I can send messages with your plugin?

see http://developer.linkedin.com/docs/DOC-1044

Any help would be appreciated!

Thanks mate..

ProLoser commented 13 years ago

Would you be interested in forking/expanding the functionality of the plugin? Normally this feature I would have thought to be automatically supported by simply setting the request path and populating $data, but as you point out, I need to pass either xml or json.

I started to code up how I might go about doing this, I'm just busy this week and would feel bad if you have to turn to another solution.

This may merit creating a 'LinkedinMessage' model in the plugin which handles properly organizing the request into the correct format. I've been talking to another dev using the plugin about fleshing out it's features to include models anyways.

Have you worked with POSTing xml and/or json before?

ProLoser commented 13 years ago

I added a commit and a theoretical implementation that may enable you to do this. I would recommend playing around with it and seeing what you can figure out.

I'm sort of busy atm to do any testing and confirm, so if this is urgent for you perhaps you can help me out. I'll be happy to lend whatever support I can.