Code Monkey home page Code Monkey logo

facebook-friend-network's Introduction

Hi, I'm Jupy :D

I'm a PhD student, working on Lifelong Reinforcement Learning. I like taking a go at random issues I think I can solve.

I love:

  • Free and Open Source Software
  • Logic Puzzles
  • Rubik's Cubes

My specs:

  • Python Pro
  • Good at Git
  • Emacs Evangelist
  • LaTeX Lover

these may be exaggerated for the sake of alliteration

facebook-friend-network's People

Contributors

berkmann18 avatar jupilogy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

facebook-friend-network's Issues

Unable to test now

I've been unable to test the latest commit due to facebook limiting how often I can look at my friends' friends list. This might be an issue with old facebook, but it is possibly just an issue with my account activity looking suspicious from testing so much.

I would be grateful if somebody else can try testing the code with either old or new facebook to see if the algorithm still works.

index out of range

it went smoothly until i got this:

Traceback (most recent call last):
File "F:\Facebook-Friend-Network\facebook.py", line 31, in
driver.find_elements_by_class_name("_6s5d")[0].send_keys(" ")
IndexError: list index out of range

and here's the debug:

[1108/212739.451:ERROR:process_reader_win.cc(123)] NtOpenThread: {Access Denied} A process has requested access to an object, but has not been granted those access rights. (0xc0000022)
[1108/212739.483:ERROR:exception_snapshot_win.cc(99)] thread ID 1080 not found in process
[1108/212739.561:ERROR:process_reader_win.cc(123)] NtOpenThread: {Access Denied} A process has requested access to an object, but has not been granted those access rights. (0xc0000022)
[1108/212739.561:ERROR:exception_snapshot_win.cc(99)] thread ID 8880 not found in process
[1108/213749.417:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)

AttributeError: 'NoneType' object has no attribute 'rfind'

File "facebook.py", line 18, in
driver = Chrome(os.getenv("/Users/pongo/Downloads/chromedriver"))
File "/Users/pongo/Library/Python/2.7/lib/python/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in init
self.service.start()
File "/Users/pongo/Library/Python/2.7/lib/python/site-packages/selenium/webdriver/common/service.py", line 95, in start
(os.path.basename(self.path), self.start_error_message, str(e)))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 114, in basename
i = p.rfind('/') + 1

IndexError: list index out of range

Hi, I have an issue similar to issue #3. I get the following error just after pressing enter and it navigates to my friendlist.

Press enter here when you have logged in to Facebook.                                                                                                                                          │ 127273 torkela+  20   0 2588420 208072 126176 S   0,3   0,6   0:01.43 Web Content                                                                                                             
Traceback (most recent call last):                                                                                                                                                             │ 127443 torkela+  20   0   13396   4380   3660 R   0,3   0,0   0:00.06 top                                                                                                                     
  File "/home/torkelatgenet/AUR/facebook-friend-network/facebook.py", line 63, in <module>                                                                                                     │      1 root      20   0  165440  10460   7732 S   0,0   0,0   0:00.94 systemd                                                                                                                 
    driver.find_elements_by_class_name(class_vars[0])[0].send_keys("     ")                                                                                                                    │      2 root      20   0       0      0      0 S   0,0   0,0   0:00.01 kthreadd                                                                                                                
IndexError: list index out of range

Both _6s5d and b1v8xokw is present in my friendlist.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.