Uisng uid to unsubscribe using restAPI plugin

Technical discussion for developers and service providers

Uisng uid to unsubscribe using restAPI plugin

Postby aspersica » 9:43pm, Thu 27 Feb, 2014

Hi,

I'm using restAPI Plugin (https://github.com/EkAndreas/phplistapi) to subscribe and unsubscribe users in my phplist .

Whe I send out emails, they have unsubscription urls which has uid parameteres.
Now my question is that how can I interpret that uid to find the userId or email to be able to unsubscribe the users in phplist.

Thanks a lot
aspersica
phpLister
 
Posts: 8
Joined: 8:48pm, Mon 17 Feb, 2014

Re: Uisng uid to unsubscribe using restAPI plugin

Postby aspersica » 6:19am, Fri 28 Feb, 2014

Hate it when I ask stupid questions!

I figured out that uniqid is a field in the users table. So I added a function to phplist rest api plugin to search by uid.

It's pushed to my forked branch here:
https://github.com/aminy/phplistapi
aspersica
phpLister
 
Posts: 8
Joined: 8:48pm, Mon 17 Feb, 2014


Return to Developers Space

Who is online

Users browsing this forum: No registered users and 1 guest