On 01/27/2015 02:01 PM, Pierre Lamot wrote: > Hi, i seems that I can't add "darktable" as administrator of the > account as it isn't a real fb user. Could you give me your facebook > account or id or better the output of > this:https://developers.facebook.com/tools/explorer?method=GET&path=me%3Ffields%3Did%2Cname&version=v2.2& > > for the integration, there are different solutions but each has some > drawbacks: - embed webkit: certainly the cleanest way, this might be > a bit heavyweight though. we discussed this when I did my first > implementation, choose not to for this reason. I might have an > implementation of this part somewhere, the integration was simple and > worked well. I have to check if I still have it > > - redirect to a port on localhost: I'm not sure that FB allows this. > I made some tests with other photo hosing provider (photobucket, > 500px, ...) some of them definitly forbid this (can't remember wich > one though), definitively to be tested, I started some works in this > direction, but it was far from complete and I don't this it worth > while to be shared. I saw some workaround consisting of using a > shortener to do the port redirection > > - redirect to a third party website (darktable.org?): This would > works, but boucman told that you weren't keen on this solution due to > privacy concern (share auth token with darktable website) best > regards
If you find it acceptable that the user enters her FB password in darktable, you can get a FB access token just by emulating what a browser would do. A few https calls and a bit of xml parsing, no more. Regards -- Marcello Perathoner ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ darktable-devel mailing list darktable-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-devel