Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate <script></script> for embedding like for other sites? #3

Open
supe3 opened this issue Jan 4, 2012 · 2 comments
Open

Generate <script></script> for embedding like for other sites? #3

supe3 opened this issue Jan 4, 2012 · 2 comments

Comments

@supe3
Copy link

supe3 commented Jan 4, 2012

How would I go about generating code for a unique-ID like-button in django-likes?

Trying to make something similar to: https://developers.facebook.com/docs/reference/plugins/like/

Thanks for suggestions

@hedleyroos
Copy link
Contributor

I don't understand what you mean by unique-ID. Do you need to set a unique DOM id (eg. likes-123456) on a tag?

@supe3
Copy link
Author

supe3 commented Jan 4, 2012

Yes.

The kind of information I want from when the like button is pressed:

  • number of likes
  • where the likes have come from (Analytics)

Would also be useful to show how many likes next to (or under) the like button.

I am trying to build a similar form to the one previously linked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants