当前位置: 动力学知识库 > 问答 > 编程问答 >

cordova - How to Integrate Twitter in Phonegap using InAppBrowser

问题描述:

I have done twitter using childbrowser as now childbroser is deprecated.

so now this code is not wokring.

I had tried to find new code but not able to find any code with inapbrowser.

Please help me :(

Thanks In Advance.

网友答案:

hi you can check tutorial related to twitter integration via child browser here , in this tutorial they provide good description, you can change the childbrowser with InAppBrowse check this link , both are same, you can instal inAppBrowser via CLI

cordova plugin add org.apache.cordova.inappbrowser

replace

  cb = window.plugins.childBrowser;

with cb = window.open(url, target, options);

and cb.showWebPage with window.open

like you can see the same events and methods.

分享给朋友:
您可能感兴趣的文章:
随机阅读: