Return URL for Joomla - creating a custom LinkedIn module

160 views Asked by At

Currently i 'm building a module that gets latest discussions in a specific LinkedIn group. I'm doing this using the 'Simple LinkedIn' class from http://code.google.com/p/simple-linkedinphp/

Besides that i use the standard OATH.php.

I first created a application in PHP, making sure it worked, and it does. Next i converted it to a joomla plugin, but there is where the problem starts. The OATH session creation and authentication works fine, but then api url switches back to the defined return_url. I'm having big issues with that one.

It returns it to the Joomla homepage (mydomain/index.php) with the session tokens in the url. But when i do that I return to the homepage and not from the specific page the request was mode from. I have been looking trough a twitter module that also uses oath and than one does return all the data to the specific page and module.

Been trying for days now.

0

There are 0 answers