a script which will show a page content like video, photos to a user if they share it on Facebook. i mean to watch a video they have to share it first and only then they will able to watch it from web page...can i do it with javascript?
like dailymotion, if you watch a video while logged in Facebook then it will share your watched video on your facebook wall. any article or idea?
Thanks

You can use the facebook api to set permission and restrictions it is more a php aproach

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.