Results 1 to 2 of 2

Thread: How to integrate Social Channels Pinterest and Weibo in Hybrid/Sencha Touch App?

  1. #1
    Sencha User
    Join Date
    Aug 2014
    Posts
    0

    Default How to integrate Social Channels Pinterest and Weibo in Hybrid/Sencha Touch App?

    or Hybrid Sencha App, we are using InAppbrowser plugin to integrate Social Channels like FaceBook, Twitter etc. But we are facing issues in Pinterest,Weibo.
    Both channels have dynamic URLs/Weibo has iframe which causes issue. Has anyone integrated these channels using Hybrid App?


    I would appreciate if you could provide some pointers to resolve issue. Any alternative solution to integrate these channels.


    1 For Facebook, triggering the InAppBrowser - it works fine ( Tiwtter and LinkedIn also works in the same way)
    Code used to render the Facebook
    <a href= onclick=window.open(fb Share URL,_blank,location=yes) ><fb share image></a>


    2) Issues :-
    Both the buttons are reloading to respective channels on click and we are losing the control of the app


    Code to create Pinterest - Pinterest uses dynamic url, not able to hook to InAppbrowser
    Both the buttons are reloading to respective channels on click and we are losing the control of the app
    Code to create Pinterest
    <a href="Pinterest share URL" data-pin-do="buttonPin" data-pin-config="above">
    <img src="//assets.pinterest.com/images/pidgets/pin_it_button.png" />
    </a>


    Code to create Weibo - weibo uses iframe, not able to hook to InAppbrowser
    <wbhare-button appkey="xxxx" addition="number" type="button" default_text="Sample test" pic="https://www.drupal.org/files/images/sina-weibo-iphone-app-300x206.jpeg" ></wbhare-button>
    <script type="text/javascript" async="" src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js"></script>

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •