Share this link on ... how can I detect it?

I want to create a "Share this link on facebook/twitter" button on my site where if they click the button, it shares that pages link on facebook or twitter and it would also reward the user on my site for doing so.  So in other words, I need my PHP script to be able to detect whether the user shared the link on facebook or twitter.

Is this possible?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
If you use sharethis, it looks like the api allows you to hook in for just about any social media.   with direct post to facebook and twitter.  Then on the call back you can do what you need to reward.  

While this is a cool idea, I think the best kind of sharing is because people liked your content and not because you gave them something in return.   If you use sharethis, you have one spot where you can track analytics for social sharing.  It will mean more to you if you see one page or blog post shared a lot more than something else vs somebody constantly sharing for the reward.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ray PaseurCommented:
@padas: +1
RobOwner (Aidellio)Commented:
I've requested that this question be closed as follows:

Accepted answer: 500 points for padas's comment #a39468377

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.