8
votes
Facebook coding interview
I am %100 sure that this is the correct answer,
I'm not so sure... I dumped your code into an online compiler*. I made very minor adjustments, moving target to a parameter and adding semicolons which ...
7
votes
Accepted
River Flood Warning system in Python
Improving Data-mining
Using a list of dictionaries
What if you, instead of keeping and supporting multiple data structures, would construct a list of dictionaries where each dictionary correspond to ...
5
votes
Accepted
Parser for Facebook friend list
I would improve the following things:
implement a "crawler" class that will store the "driver" instance as a variable and will also have a better separation of concerns - a separate method to log in, ...
3
votes
Accepted
Web scraping job postings from Facebook
Some quick suggestions:
The requests module can urlencode strings for you if you use the params keyword:
...
2
votes
Facebook coding interview
I don't know Java, but I still found your challenge interesting! So I translated your code to Python and tried to beat it:
...
2
votes
Attaching Facebook messenger bot to all pages of the user logging in
Overall this feels like a lot of code thrown together. It isn't totally unorganized but feels like a lot to process when reading it. I do notice that most every try/...
1
vote
Accepted
Groups/Communities in Facebook snap dataset using networkx in python
After searching and researching to find the solution to this question i came up with this answer:
To find/detect communities in facebook snap dataset:
...
1
vote
Log in to Rails app using Facebook SDK
I've implemented a few social apps before. What you've done is pretty standard practice when it comes to oauth authentication and is secure.
The one thing you could change:
...
1
vote
Rails5/Devise/Omniauth (Multiple Providers)
Here's an option for removing redundancy: replace the the provider specific defs with a single one like the following:
...
1
vote
Accepted
Crawler for scraping and approving friend requests in Facebook
VBAs selenium bindings are not as rich in functionality as other language bindings, but I would improve the following:
use the "by id" locators whenever possible:
...
1
vote
Login with facebook, store data in MySQL, render profile and admin panel
At the beginnig: im providing this answer for PHP 7.2. You should switch to the latest version (7.3 was released days ago. Also 7.0 will reach EOL soon). Keep in mind to stick to the latest or LTS ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
facebook × 38javascript × 11
python × 10
php × 8
web-scraping × 5
java × 3
c# × 3
performance × 3
python-3.x × 3
jquery × 3
api × 3
beautifulsoup × 3
twitter × 3
oauth × 3
python-2.x × 2
graph × 2
error-handling × 2
ruby-on-rails × 2
authentication × 2
unity3d × 2
selenium × 2
google-app-engine × 2
beginner × 1
algorithm × 1
object-oriented × 1