Page used for automating tasks when managing pages, such as storing not allowed words, that with a push of a button are localized in comments and deleted in choosen post or all posts, liking all comments, deleteting and posting posts. You can also view statistics that are not avaible in facebook such as top 5 most commented, shared and liked posts or top 5 most active commenters.
pip install -r requirements.txt
- Django configuration (Grzesiek)
- Database mongo atlas configuration (Grzesiek)
- Logging and registration (Grzesiek)
- Token authorization and storage (Grzesiek)
- Main page with posts (Ola)
- Statistics about top 5 commenters (Grzesiek)
- Statistics about top 5 posts with biggest amount of likes/comment/shares (Grzesiek)
- Ability to delete comments containing words from database (Ola)
- Post deletion (Ola)
- Liking all comments in a post/all posts (Ola)
- Fanpage selection (Ola)
- Deletion of banned words from database (Ola)
- Form for adding post with photo (Ola)
- Uploading of photos (Ola)
- Management of post by its id (Grzesiek)
- Posts pagination (Grzesiek)
- Scheduling
Project teached us working in a team using branches, merging with master finished aspects and resolving conflicts, overall concept of using API for fetching and posting content and usage of django + mongodb database models, renderign views and Django template language.
We've done all the planned things except one - scheduling. We've tried to use many libraries but they didn't want to work with us.
The project turned out to be quite time consuming due to problems with the Django version and access to facebook data. But despite this I think we're both happy with the result. My knowledge of Python, Django and mongodb has certainly expanded. I will also remember for the future that the latest version is not always the best choice and that Python has a huge number of libraries that make life easier.
Project taught me that sometime it is better to check full documentation than jump to coding after having a first idea how something can be done. I also improved in "python" approach of programming, changing traditional for loops to list comprehensions. It also taught me about using APIs and that sometimes you cant acces everything with specific tokens. Project was really fun, django is a framework that a lot of is being done for us, we just worry about html and passing right context.
Grzegorz Poręba |
Aleksandra Mazur |