Katiko

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Hello, I just tried the php sample (on github). Login doesn't return any token either, this time I tried with firefox + IE on windows 8 machine. Would anybody mind explaining if I'm missing some steps? a) code is from: https://github.com/mercadolibre/php-sdk/blob/master/examples/example_login.php app_id + secret changed in this line $meli = new Meli('APP_ID', 'SECRET_KEY', $_SESSION['access_token'], $_SESSION['refresh_token']); tried with and without $_session (acess token and refresh). c) redirected url to server. The array only returns: What a I missing? Regards.
  2. Hello, using the following code: appId=7026179813746210; MELI.init({client_id: appId}); MELI.login(function() { MELI.get( "/users/me",{}, function(data) { alert("Hello "+data[2].first_name) } ); }); I only get "Hello undefined". I say no access token is returned beause I also tried the list example, however token value was null. Is there something I'm missing? Tried on: Firefox, chrome, safari. Osx Mountain lion. Regards.