Integrating Facebook Like & Share Plugin Using Django
Django is a Python-based web framework that allows you to quickly create efficient web applications. It is also called batteries included framework because Django provides built-in features for everything including Django Admin Interface, default database – SQLlite3, etc. In this article we will learn to integrate facebook comment plugin in django.
How to Integrate Facebook Like & Share Plugin in Django ?
pip install django
1) Create new project
django-admin startproject Test_prj
2) Navigate to Test_prj directory
3) Create new app
python manage.py startapp main
Folder Structure :
Then add the app name inside the INSTALLED_APPS (settings.py).
Create new file urls.py inside the main directory
Add the main/urls.py inside the urls.py
Go to this link to get code
Click on get code
Create new directory templates inside the main app inside that create main directory
Open cmd or terminal to run this app
python manage.py runserver
Please Login to comment...