Metriche repository
- Star
- (49.270 stelle)
- Metriche merge PR
- (Merge medio 4g 2h) (15 PR mergiate in 30 g)
Descrizione
Hey guys,
I've put together a rudimentary Facebook Graph API agent (really easy with the Koala gem https://github.com/arsduo/koala). However the Facebook Oauth is a bit complicated as they don't link your app to your Facebook account, you must do this through their authorisation process (pop up a request for app authorisation and then get the token via a callback url). I'm wondering what the best way to do this in Huginn is.
Put a button in the Facebook agent show page and have the callback to the agent show page with an extra url path attached and modify routes.rb? Not sure if this fits the design of Huginn (would be better in the agent edit view? Or somehow in the credentials view?) Any other ideas?
At the moment you can request a token via the Graph Explorer, but these are short term tokens and only last 2h as far as I can tell.