4

I'm using kinvey. They provide this great tutorial detailing sign-in via oauth. They also handle a considerable amount on their end allowing a very simple social signin method.

The issue is providing a proper Callback URL when creating the app within twitter. How do I make that play nicely with the tabs:childBrowser in Trigger.IO?

I've seen this answer regarding how to use Trigger.IO to handle OAuth2, how would I go about augmenting the method they provide for use with OAuth1.0a for use with Twitter?

Community
  • 1
  • 1
Karoh
  • 2,390
  • 3
  • 23
  • 29
  • I ran into the same issue and at this time I don't think they have a way to do it like with facebook, I had to do an oAuth service on my server and download the results and save them locally to get the twitter feed in app. The other method would be to use the child browser as stated but its not as clean in my opinion – proxim0 Jul 11 '13 at 18:02
  • @user1717573 have you seen the [this](http://github.com/trigger-corp/forge-template-oauth2)? - it would be great if it could be tweaked somehow. – Karoh Jul 11 '13 at 18:50
  • @user1717573 [OAuth with modal views](https://trigger.io/docs/current/recipes/integrations/modal.html) looks helpful! – Karoh Jul 16 '13 at 17:57

1 Answers1

1

I've put together a demo app which shows how to use forge.request.ajax and forge.tabs.open to do an OAuth 1.0a flow against Twitter. Might update the docs with the same when a get a second.

https://github.com/goodgravy/forge-spikes/tree/master/twitter-oauth

James Brady
  • 27,032
  • 8
  • 51
  • 59