- This topic has 9 replies, 3 voices, and was last updated 11 years, 1 month ago by support-octavio.
-
AuthorPosts
-
BryanBudelonMemberHello.
I’m tried show tweets with the widget of the Twitter.
Code:
<a class="twitter-timeline" width="320px" data-chrome="nofooter noheader noscrollbar noborders" href="https://twitter.com/radiotupa" data-widget-id="365493726769987586">Tweets de @radiotupa</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
In Teste Center of MobiOne is showed, but in gadget no showed. What’s problem?
support-michaelKeymaster>In Teste Center of MobiOne is showed, but in gadget no showed. What’s problem?
This is not much info to work with as there could be other factors involved such as how you are integrating this code and where you are testing. Please share more details so we can speak exactly to this issue:
1) what version of mobione are you using?
2) you said this code runs in the Test Center but not on a “gadget”. Please share in detail what you mean by this.
a) what is your “gadget”, I assume it is a device. Please share the model and os versionb) are you testing a webapp or a native app?
c) how are you packaging the snippet of code you posted?
d) verify with whatever source that you pulled this snippet of code from that it is compatible with the mode and device you are testing it.
The Test Center and its replacement, the Mobile Web Simulator, run on the desktop which is not an apples-apples comparison the mobile browser on your test device. So your mileage will vary with desktop simulators and emulators.
BryanBudelonMember1) what version of mobione are you using?
I’m using the version 2.5 milestone-2
2) you said this code runs in the Test Center but not on a “gadget”. Please share in detail what you mean by this.
I mean in works only Test Center, but no works in iPhone.
a) what is your “gadget”, I assume it is a device. Please share the model and os version
Is one iPhone 4.
b) are you testing a webapp or a native app?
Native.
c) how are you packaging the snippet of code you posted?
I did not got it clearly, but the code shown was added in HTML widget.
d) verify with whatever source that you pulled this snippet of code from that it is compatible with the mode and device you are testing it.
If it runs in Test Center, why no works in iPhone?
BryanBudelonMemberUP.
support-octavioMemberHi BryanBudelon,
I am not that familiar with Twitter API, will discuss this issue tomorrow with Wayne when he is back.
support-michaelKeymasterHi Bryan,
OC asked me to give this topic a look. I have only worked with twitter javascript apis so I don’t have any experience with the snippet you posted. We will try to work in more research on your issue but our practice is to investigate core mobione problem reports before we invest time to integration with 3rd party services. Those can be time consuming and in this cause we have to learn the api and go through the entire process before we can comment. Will keep you updated. In the meantime try pushing this forward yourself with some googling and experiment. Share any results with us. We will provide updates as we get deeper into this as well.
BryanBudelonMember@support-wayne wrote:
Hi Bryan,
OC asked me to give this topic a look. I have only worked with twitter javascript apis so I don’t have any experience with the snippet you posted. We will try to work in more research on your issue but our practice is to investigate core mobione problem reports before we invest time to integration with 3rd party services. Those can be time consuming and in this cause we have to learn the api and go through the entire process before we can comment. Will keep you updated. In the meantime try pushing this forward yourself with some googling and experiment. Share any results with us. We will provide updates as we get deeper into this as well.
I Understand.
But then there is a way to display the tweets?
support-michaelKeymasterI did some quick googling on this issue. Some users have run into issue with the twitter timeline widget particularly on ios: https://dev.twitter.com/discussions/11360
One workaround if using the timeline widget is to load the timeline from a remote webpage on your web server (assuming you have one) using the InAppBrowser of cordova/phonegap. Will continue to see if there is a simple solution for this issue.
BryanBudelonMember@support-wayne wrote:
I did some quick googling on this issue. Some users have run into issue with the twitter timeline widget particularly on ios: https://dev.twitter.com/discussions/11360
One workaround if using the timeline widget is to load the timeline from a remote webpage on your web server (assuming you have one) using the InAppBrowser of cordova/phonegap. Will continue to see if there is a simple solution for this issue.Okay.
support-octavioMemberHi BryanBudelon,
We are deferring further investigation until after we complete the 2.5 milestone-3 release. The issue is with the twitter widget in corddova/phonegap (not mobione). One workaround is to load the twitter widget in the InAppBrowser component of cordova. We are hoping to identify embedding the timeline widget directly in an html widget – no guarantees but will try.
-
AuthorPosts