简体   繁体   English

如何为Twitter授权创建弹出窗口?

[英]How do I create a popup window for Twitter authorization?

I want to create a Blackberry Playbook webworks app that links to twitter using an oauth library. 我想创建一个使用oauth库链接到Twitter的Blackberry Playbook Webworks应用程序。 How do I create a popup window from within the app using Javascript to display the Twitter authorization page? 如何使用Javascript在应用程序中创建弹出窗口以显示Twitter授权页面?

It doesn't seem that I can use an iframe, as Twitter's code seems to check if it's running from an iframe, from what I've read. 似乎我不能使用iframe,因为Twitter的代码似乎可以根据我所阅读的内容检查它是否正在iframe上运行。

It doesn't seem to be possible, but via this question I found an extension from polarmobile that does the job. 似乎不可能,但是通过这个问题,我找到了Polarmobile的扩展来完成这项工作。 There's also an app called Lemma that demonstrates how to use it. 还有一个名为Lemma的应用程序,演示了如何使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM