facebookarchive / fbconsole

A micro api client for writing scripts against the Facebook Graph API.
Other
325 stars 74 forks source link

added functionality to automatically_authenticate #15

Closed deanmalmgren closed 11 years ago

deanmalmgren commented 12 years ago

Hey Paul,

I just added a fbconsole.automatically_authenticate that addresses the issue I raised earlier this morning. It includes documentation and the addition of mechanize to the install requirements. To be honest, I'm not sure how nicely this plays with python 3 but I had some code written elsewhere that I was able to easily rip so I thought I'd post it as a candidate solution.

Happy to help modify this as necessary...

Cheers. Dean

pcardune commented 11 years ago

hmm, I guess I don't check my github notifications very often. Are you still interested in seeing this merged? Looks like a cool feature. I haven't reviewed the code that thoroughly yet, but if you still want to merge this, I'll look it over.

deanmalmgren commented 11 years ago

ha; no worries.

I'd be happy to help merge it over as I think it is a feature many people would find useful. It has honestly been long enough that I've pretty much forgotten how everything worked, but I'd be happy to help with the merge.

pcardune commented 11 years ago

Ok. I'll check it out and see if it works with python3

pcardune commented 11 years ago

According to http://wwwsearch.sourceforge.net/mechanize/faq.html, python3 is not supported by mechanize yet, and in fact your branch breaks this package in python3. We could make this a python2.7 only feature until mechanize is ported, which I think some people are working on.

If you could make the following changes, I'll be happy to merge this in:

deanmalmgren commented 11 years ago

There you go. I think that covers it. If anything doesn't check out, let me know and I can take another crack at it.

pcardune commented 11 years ago

Great! looks good. There are a couple things that could be fixed (doesn't work if you have login approvals turned on) but I can try to get those to work on my own before I cut the next release.

pcardune commented 9 years ago

@deanmalmgren I'm thinking of removing this functionality from the package since it doesn't seem to be working anymore and I don't have time to support it. Are you interested in making an update to get it working again?