Git Product home page Git Product logo

gdx-twitter's People

Contributors

tomgrill avatar zarandor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zarandor sakibguy

gdx-twitter's Issues

java.lang.RuntimeException: No libGDX environment.

Hi,
my application crashes at launch and here are the 2 relevant lines in the logcat that point out the issue:
java.lang.RuntimeException: No libGDX environment.
at bvm.(TwitterSystem.java:1057)

It happens when proguard is enable.
Can you indicate me which proguard instructions I have to specify to make it work ?

gdx-twitter black screen on cancel [android]

If user click on login twitter button, app opens default android browser and ask to authorize twitter app.
But if user cancels action by pressing phone back button or by clicking cancel> back to application_name in browser, it goes back to android app with black screen.
I think it is de.tomgrill.gdxtwitter.android.AndroidTwitterAuthIntent. After pressig phone back button one more time, game shows.

AndroidTwitterAuthIntent got singleTask launch mode in manifest.

Source: http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=21368

apiError with HttpStatus=-1 when uploading an image

Hi TomGrill,
first thank you for gdx-facebook and gdx-twitter I hope to be able to contribute to those extensions when I released my game that I want to port to Html5. For now I concentrate on Android.

So while trying to upload an image of 211 Kb from a directory on my website to twitter using these:

request = new TwitterRequest(TwitterRequestType.POST, "https://upload.twitter.com/1.1/media/upload.json");
request.put("media_data", encodedString);

I get an apiError(-1, "")

The issue is the same that the one you mentioned in:
http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=19753&p=82658&hilit=HttpResponse+1#p82658

After downloading your lib and add a setTimeOut(3000) to httpRequest in TwitterAPI.java everything works fine.

So can you add a constant in TwitterConfig to set a timeout value and use it in TwitterAPI to send the http request ?

It will also be good to signal that issue and this workaround.

Thanks for your work.

The image I was trying to upload
mission_02

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.