Develop a JS function to read out like button status via CSS
$30-250 USD
Cancelled
Posted about 11 years ago
$30-250 USD
Paid on delivery
Hello,
I need a javascript function which checks the status of the facebook like box or button (Box: [login to view URL] / Button: [login to view URL]) within my webpage and recognizes if the current user is a fan or is not a fan or is not logged in to facebook.
Possible Solution:
1. Read out CSS class of "like" in like box/button.
2. Define fan status of current CSS class (fan / no Fan / not logged in to facebook).
3. Return status as a function result
For further questions, just write a comment.
Best,
Olli
hey Olli, glad to be the first to bid.
so do you have a page already there which i can insert my script into?
if i didn't get it wrong, you need to identify if a user is has liked your page or not, right?