Wokstym / AutoFb

Website for managing and providing statistics for Facebook fanpages, project for Programming in Python labolatories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project from Programming in Python

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.

Showcase

presentation gif

Setup

pip install -r requirements.txt

Roadmap

Lab 3 (April 7/9)

  • Django configuration (Grzesiek)
  • Database mongo atlas configuration (Grzesiek)

Lab 4 (April 21/23)

  • Logging and registration (Grzesiek)
  • Token authorization and storage (Grzesiek)
  • Main page with posts (Ola)

Lab 5 (May 5/7)

  • 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)

Lab 6 (May 19/21)

  • 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 submission (June 2/4)

Summary

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.

Ola

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.

Grzesiek

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.

Contributors ✨


Grzegorz Poręba


Aleksandra Mazur

About

Website for managing and providing statistics for Facebook fanpages, project for Programming in Python labolatories


Languages

Language:Python 51.5%Language:HTML 47.4%Language:CSS 1.1%