george85
November 22nd, 2014, 08:58 AM
I have very limited knowledge with Terminal in Ubuntu, I'm wondering if you can help me :)
I'm trying to access my friend's 'Hidden Friend' list with this code by Shay Priel mentioned here (bottom of the page), running Ubuntu on VirtualBox (virtual machine).
I'd like to mention that this code is not "hacking", it's using the Facebook API to it's full potential. Nothing criminal going on here…
http://lifehacker.com/uncover-every-friend-on-someone-s-private-facebook-frie-1586250899
The code is uploaded here. https://github.com/prili/fb-hfc
and I've installed the pre-requisite items, using sudo command. All installed successfully.
apt-get install python-lxml
pip install selenium
pip install requests
pip install colorama
When I use this command in terminal to run the script.
~/Desktop/fb-hfc.py -username <inserted my username here> -password <inserted my password here> -query ‘People who live in Los Angeles California and like SBE’ -output related_profiles.txt
it throws this error. What does this mean?
Traceback (most recent call last):
File "/home/george/Desktop/fb-hfc.py", line 301, in <module>
graph_search(graph_search_query)
File "/home/george/Desktop/fb-hfc.py", line 117, in graph_search
elem.click()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 65, in click
self._execute(Command.CLICK_ELEMENT)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 385, in _execute
return self._parent.execute(command, params)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 173, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 166, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.MoveTargetOutOfBoundsEx ception: Message: Element cannot be scrolled into view:[object XrayWrapper [object HTMLDivElement]]
Stacktrace:
at WebElement.clickElement (file:///tmp/tmpEw3Vlq/extensions/fxdriver@http://googlecode.com/components/command-processor.js:11036:7)
at DelayedCommand.prototype.executeInternal_/h (file:///tmp/tmpEw3Vlq/extensions/fxdriver@http://googlecode.com/components/command-processor.js:11635:16)
at DelayedCommand.prototype.executeInternal_ (file:///tmp/tmpEw3Vlq/extensions/fxdriver@http://googlecode.com/components/command-processor.js:11640:7)
at DelayedCommand.prototype.execute/< (file:///tmp/tmpEw3Vlq/extensions/fxdriver@http://googlecode.com/components/command-processor.js:11582:5)
george@george-VirtualBox:~$ ~/Desktop/fb-hfc.py
I'm trying to access my friend's 'Hidden Friend' list with this code by Shay Priel mentioned here (bottom of the page), running Ubuntu on VirtualBox (virtual machine).
I'd like to mention that this code is not "hacking", it's using the Facebook API to it's full potential. Nothing criminal going on here…
http://lifehacker.com/uncover-every-friend-on-someone-s-private-facebook-frie-1586250899
The code is uploaded here. https://github.com/prili/fb-hfc
and I've installed the pre-requisite items, using sudo command. All installed successfully.
apt-get install python-lxml
pip install selenium
pip install requests
pip install colorama
When I use this command in terminal to run the script.
~/Desktop/fb-hfc.py -username <inserted my username here> -password <inserted my password here> -query ‘People who live in Los Angeles California and like SBE’ -output related_profiles.txt
it throws this error. What does this mean?
Traceback (most recent call last):
File "/home/george/Desktop/fb-hfc.py", line 301, in <module>
graph_search(graph_search_query)
File "/home/george/Desktop/fb-hfc.py", line 117, in graph_search
elem.click()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 65, in click
self._execute(Command.CLICK_ELEMENT)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 385, in _execute
return self._parent.execute(command, params)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 173, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 166, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.MoveTargetOutOfBoundsEx ception: Message: Element cannot be scrolled into view:[object XrayWrapper [object HTMLDivElement]]
Stacktrace:
at WebElement.clickElement (file:///tmp/tmpEw3Vlq/extensions/fxdriver@http://googlecode.com/components/command-processor.js:11036:7)
at DelayedCommand.prototype.executeInternal_/h (file:///tmp/tmpEw3Vlq/extensions/fxdriver@http://googlecode.com/components/command-processor.js:11635:16)
at DelayedCommand.prototype.executeInternal_ (file:///tmp/tmpEw3Vlq/extensions/fxdriver@http://googlecode.com/components/command-processor.js:11640:7)
at DelayedCommand.prototype.execute/< (file:///tmp/tmpEw3Vlq/extensions/fxdriver@http://googlecode.com/components/command-processor.js:11582:5)
george@george-VirtualBox:~$ ~/Desktop/fb-hfc.py