Skip to content

Sync opt-outs in Spoke to EveryAction

License

Notifications You must be signed in to change notification settings

Sunrise-LA-Youth/Spoke-Opt-out-Sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spoke Opt-Outs Sync

This PHP script syncs opt-outs from Spoke to EveryAction. We recommend setting up a cron job to run this script regularly, or else you will manually have to run it each time you want to sync. Tested working with Spoke v10.0

Using the sync

  • Configure settings at the top of sync.php
    • EveryAction API username and password
    • Spoke database credentials
  • Change the time period of Spoke opt-outs that are searched for (default syncs rolling past 7 days)
    • To change this, change 7 days in line 31 to time period you want