Page 1 of 2

Problems with twitter tutorials

Posted: Fri Jul 26, 2013 7:03 am
by Diego Esteban Osorio Zaldivia

Dears,

I've been following these two tutorials:
http://docs.appery.io/tutorials/build...
http://docs.appery.io/tutorials/build...
And I had problems with both.

In the first, I found that the features used has been deprecated by twitter a few weeks ago, which creates several problems.
In the second I found that AccessTokenDS creation is not explained in step by step and only appears on the images. In addition, it is based on an application for windows 8, which do not explain how to create the TwitSearchGlobal and the functions that uses has been deprecated too.

could update the tutorials please? It's very important for me to learn this :(

thanks in advance!


Problems with twitter tutorials

Posted: Fri Jul 26, 2013 7:12 am
by Kateryna Grynko

Hi Diego,

For now we have:

  1. This tutorial seems to be invalid.

    2.
    Sorry, here is a mistake. There is a link to the wrong tutorial ("How to create Twitter Search app is described in Building Twitter Search App tutorial. Let’s continue by improving it with new functionality.") but it's incorrect, should point to the valid tutorial, will be fixed.

  2. Another Building Twitter Search App tutorial - you can try this one.

    Please let us know if it works for you.
    Sorry for confusing.


Problems with twitter tutorials

Posted: Sat Jul 27, 2013 12:45 am
by Diego Esteban Osorio Zaldivia

Hello Katya!

I completed the valid tutorial and I tested the services properly (TwitterSearch_OAuth2Service and TwitterSearch_SearchService), but at finish of the application and test it in a web browser or on my phone, searchButton shows nothing.
How can I find the error?

I leave the public link of the application.

Thanks in advance again!


Problems with twitter tutorials

Posted: Sat Jul 27, 2013 1:01 am
by Igor

Hello Diego,

Please try to debug your app. Tutorial how to debug app: http://docs.appery.io/tutorials/build...


Problems with twitter tutorials

Posted: Sat Jul 27, 2013 1:14 am
by Diego Esteban Osorio Zaldivia

Thanks Igor. I will follow the steps to debug (although the link you left is wrong, I think it's this)

On the other hand, I noticed that in the Building a twitter app to send tweets tutorial still not mentioned as performing TwitterSend_AccessTokenService (in services created) nor the AccessTokenDS (in Data tab). These two elements appear in the images and are used, but not explain how to create them.


Problems with twitter tutorials

Posted: Mon Jul 29, 2013 11:03 am
by Maryna Brodina

Hello! Sorry, there was missing information in tutorial. Please take a look at updated tutorial http://docs.appery.io/tutorials/build...


Problems with twitter tutorials

Posted: Wed Jul 31, 2013 2:09 am
by Diego Esteban Osorio Zaldivia

Hello!

I deleted my previous project and I've re-created following the new instructions in Building Twitter Search App (here is the public link of my new application). I made the debugging getting the following error: POST http://appery.io/app/rest/tunnel 500 (Internal Server Error). There are more details of the error here.

I think that may be a problem with the proxy, but not sure. Services are using the Appery.io proxy as indicated in the tutorial and the individual test of services functioned correctly.

No further directions in the tutorial showing how to solve this problem... Any idea?

Thanks in advance again!


Problems with twitter tutorials

Posted: Wed Jul 31, 2013 3:14 am
by Alena Prykhodko

Diego, try to refresh the page. Also please make sure you set up Services correctly and check Mapping.


Problems with twitter tutorials

Posted: Wed Jul 31, 2013 7:13 am
by Diego Esteban Osorio Zaldivia

Now it works!

The problem was the encodeBase64 function given in the tutorial. I used the encode function that appears here and worked without problems.


Problems with twitter tutorials

Posted: Wed Jul 31, 2013 10:07 am
by Diego Esteban Osorio Zaldivia

Hi Marina!

I followed the instructions on the link you left me and I found another detail.
At the end of item 5 Adding JS, there is a piece of code related to serialization that is unfinished.
Searching in google I found that piece of code is part of a larger code, but I'm not clear whether it is necessary or as it should be.
Could you check it please?

Thank you so much!