Android Fabric Twitter App card post failed - 403 Forbidden



I have been trying to post an app card programmatically from android app. but its failing.

This is the error statcktrace:
Post Tweet failed 403 Forbidden
at retrofit.RestAdapter$RestHandler.invokeRequest(
at retrofit.RestAdapter$RestHandler.access$100(
at retrofit.RestAdapter$RestHandler$2.obtainResponse(
at java.util.concurrent.Executors$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

I assume this is due to conflict of using libraries seperately for the project. Following are the squareup libraries Im using for this project

compile 'com.squareup.okhttp:okhttp:2.3.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.3.0'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.picasso:picasso:2.5.2'

please help me figure out this problem and fix it.


(moving across to the Fabric Twitter Kit category)


Hey @SinanShoukath,

Have you applied and been whitelisted for posting App cards? Check out the requirements here:



Hey @bonnell,

I have applied for whitelisting and its approved. But I’m facing another problem now. I try to post an app card from my android app and it posted successfully. When I gone through my twitter profile the app card is not showing, only text is shown there. Why is this happening? Please help.


Can you share the tweet where this isn’t working correctly for you?


Its working now. The problem was with the image I had attached. The image size was not as given in the requirements. When I put the image of required sizes the card posted and displayed. Thanks for your time and effort.