I'm developing an app for a client, which enables social sharing of client's product via twitter and facebook.
I successfully implemented sharing feature in twitter and facebook, and also I have to implemented report feature for these sharing in web service. To do this, I think these steps are sufficient:
1) Keep user's uniqueid for each platform in NSUserDefaults
2) Whenever user successfully shared content, Open NSUrlConnection to my web service and notified with user's unique id and shared content id.
3) Therefore, in web service, I can keep track of shared contents.
Is this really a good approach? Or, should I follow another approach?