I currently have a client who came to me asking me how to build a system for him where he can give varying levels of discounts to events based on the number of people who get referred via a unique affiliate link/cookie.
The key stumbling block for this project isn't necessarily managing a code, but rather logging how many people share from the initial share and track any and all referrals from there. Essentially the discounts are all tiered based on signup counts so I'm not dealing with a flat commission per signup.
In case this is relevant, as my client is running on a Windows machine, MS SQL is the current database in place, and as such my PHP code will likely be piping the data back to that system rather than MySQL which again is my primary forte.
As this is my first time dabbling with the Facebook API, I wanted to know if there are any programs on the market already which do this, and also whether this can be coded easily using PHP (which is my primary area of expertise).
Bottom line however is that I want to know whether I can track the shares across Facebook and have that data sent back to the server. This is all purely for integration in Facebook, not a traditional web affiliate program.
Any insights are greatly appreciated.