Where can I find a simple OAuth plugin I can use for my Twitter Search app?
My app returns no error and no search result despite following link:
http://docs.appery.io/tutorials/build...
Where can I find a simple OAuth plugin I can use for my Twitter Search app?
My app returns no error and no search result despite following link:
http://docs.appery.io/tutorials/build...
Hello! You would need to search for plugin online. Could you give us your public app link so we can take a look?
Hello! Sorry for delay. There are JS errors when app loads:
Uncaught SyntaxError: Unexpected token files/views/assets/js/TwitterSearchJS.js:21
and
Uncaught SyntaxError: Unexpected number mobilescreen1.js:327
So you would need to debug your app http://docs.appery.io/documentation/a...
I would like to be able to debug myself but how?
Why can't I single step through these uncaught syntax errors at my end?
This JS source provided to me by Appery.io
The last line is 21 and I question where is h1 initialized?
b64.charAt(h1)
I suspect o1 has no data in because data is null.
alert('Calling TwitSearchGlobal.beforeSearchTwit')
TwitSearchGlobal = {
bearerToken : "",
Code: Select all
encodeBase64 : function ( data ) { // Encodes data with MIME base64
// + original by: Tyler Akins (http://rumkin.com)
// + improved by: Bayron Guevara
Code: Select all
var b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; var o1, o2, o3, h1, h2, h3, h4, bits, i=0, enc='';
do {
// pack three octets into four hexes
Code: Select all
o1 = data.charCodeAt(i++);
o2 = data.charCodeAt(i++);
o3 = data.charCodeAt(i++); LINE 21 bits = o1<18 & 0x3f;
Hi, you would need to provide more details on how did you get this error and how to reproduce it. You should also know that debugging is outside the scope of our support.
Marina -
You may want to touch base with your colleague Katya Yakusheva who is aware of
a bug reported 07-19-2013 before your reply to me on 07-26-2013.
Is bug still in progress of being fixed because link
http://docs.appery.io/tutorials/build...
is not found?
https://getsatisfaction.com/apperyio/...
bits = o1<< 16 | o2<18 & 0x3f; // correct but I still get the same errors:
Uncaught SyntaxError: Unexpected token TwitterSearchJS.js:20
Uncaught SyntaxError: Unexpected number
bits = o1<18 & 0x3f; // bug
Hello! We fixed tutorial. Here is correct link http://docs.appery.io/tutorials/build...
It appears appery.io is generating wrong code for mobilescreen1.js:
TwiiterSearchJS.js
bits = o1<<< 18 & 0x3f;
throws
Uncaught SyntaxError: Unexpected number mobilescreen1.js:326
It appears appery.io is generating wrong code for mobilescreen1.js:
mobilescreen1.js bits = o1 < 18 & 0x3f;
throws
Uncaught SyntaxError: Unexpected number mobilescreen1.js:326
TwiiterSearchJS.js has correct code