Posts

Showing posts with the label facebook

[TSTIL] Autopullpep8 and the Facebook adventure

Image
[ This is a part of " The Software That I Love ", a series of posts about Software that I created or had a small part in ] 2012 - Autopullpep8 and the Facebook adventure Achiel, my team lead at Mendix, showed me Python and it quickly became my go-to language. I got frustrated with the different coding styles, whitespace errors, and learned about pep8, flake, etc. Nowadays we use `black` but back then there was only `autopep8`. A tool that reformatted python code to the pep8 standard. Learning about GitHub, its API and autopep8 I got a brilliant idea. What if I created a script to clone the top 100 most starred python projects, applied autopep8 and submitted a Pull Request. All completely automated. This was simple. I was nice enough to check the diffs before sending the PR. Autopep8 got a lot wrong and made some things really ugly. I spent 20 hours cleaning up code and then submitting PRs. I got my (small) contributions into a handful of top python projects. Pretty cool! Now...

Is there a definitive guide to making Facebook applications?

Last month I've made a Facebook application and I was appalled by almost every step in the process. Apparently there have been tons of changes in the way application developing worked. The developers documentation is like spaghetti, it is simply  horrible . There are remnants of old, unsupported code everywhere. (Just take a look at  http://developers.facebook.com/docs/ .) But maybe I just don't get it, so please tell me if you think I'm wrong. Now that I know how it should be done (I'm still not happy with the way it works), I could write a clear introduction to developing apps for Facebook. The thing is: I don't like to do work that's already been done. So:  could you please let me know whether there is a good introduction to Facebook application development? Could you also let me know if you think such a guide is necessary? Please comment. FYI my application is called My Library ( http://www.facebook.com/apps/application.php?id=177804432233782 ...