This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
In my current project, there is an article posting module. Now, there are three privilege levels that we offer to the users making the posting. The base level is free, next level costs bit higher than that and the final privilege is costliest of all, as understandably.
Now, we want to integrate the following feature, while making the posting:
a) If the user has, say, liked us on facebook OR twitter, then he can directly do the privilege level two posting(and this is, even if he hasn't paid; i.e If he just qualifies for the privilege one level - The free posting privilege level).
b) If the user has, say, liked us on facebook AND followed us on twitter, then he can directly do the privilege level three posting(Even if he hasn't paid or if he is in the privilege two level).
Using the api's available, is there any way I can get the user to log in to FB or twitter, after they undergo the like and following process, they come back, and I automatically update the privelge level, and go ahead. Are there any api's that can be tailor-made for my situation.
Are there any similar implementations.
Kindly suggest some advice, ranchers. I would like to know how to go about this.
But I was hoping for some API's that I can use for this particular progress. A couple of months back, I was able to fetch user's data from FB, Twitter and import contacts from gmail, yahoo.
But, this is an altogether different situation I find myself into. I need to, kinda, track each user's id, so the next time he does the posting, i have to check if that id is present in the tables of fb likes and twitter followers that I have to maintain. It not just ends there. After that person likes on fb and twitter, and he upgrades and does the posting, if he goes into fb and twiiter and unlikes us, then we will have to bring him back to the level where he originally was before upgradation.
So as you can see, the most difficult part is tracking the id of the user in fb and twitter (Actually, tracking only the likes of our page, and no other information of the user is needed).
Are we entitled by facebook and twitter to do that.
If yes, then are there any implemetations, code snippets and/or examples that atleast does a similar job.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Check if user liked us on FB, followed on Twitter, then promote him to higher level in my website