Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upIllegalArgumentException: column '_data' does not exist #46
Comments
efrohnhoefer
added
the
bug
label
Jun 1, 2016
This comment has been minimized.
This comment has been minimized.
barykaed
commented
May 31, 2017
|
This is critical. PLease fix ASAP. |
This comment has been minimized.
This comment has been minimized.
|
We'll have to consider whether to resolve this in an older version of Twitter Kit. The latest (version 3) no longer supports programmatic creation of App Cards and the associated methods have been removed. |
This comment has been minimized.
This comment has been minimized.
koral--
commented
May 31, 2017
•
|
I've reported this issue more than a year ago and I don't use that method now, but just curious. There is a replacement API method: |
This comment has been minimized.
This comment has been minimized.
barykaed
commented
May 31, 2017
|
I'm using the following method:
and i'm using version 3.0 of Twitter Kit. |
This comment has been minimized.
This comment has been minimized.
|
We still only support local files for the embedded composer but this is something we are looking to improve in the next release. |
This comment has been minimized.
This comment has been minimized.
harryio
commented
Jun 1, 2017
|
I need to attach remote image to a Tweet and Twitter Kit does not support attaching remote images to a Tweet. To workaround this, I'm passing the Found this comment on a Glide issue. Maybe it can help to resolve the issue. |
This comment has been minimized.
This comment has been minimized.
Firsto
commented
Sep 27, 2017
|
Same problem here. Is there any workaround to tweet images? |
This comment has been minimized.
This comment has been minimized.
harryio
commented
Sep 27, 2017
|
@Firsto There is but without using TweetComposerView. Workaround involves calling the REST api calls present in the SDK. You need to first upload the image at upload media endpoint, which will return the id of the uploaded image. You then need to send the uploaded image id to this endpoint in |
This comment has been minimized.
This comment has been minimized.
Firsto
commented
Sep 27, 2017
|
@harryio oh, it looks so bad :( Anyway, TweetComposerView works properly when using image file from external storage. |
This comment has been minimized.
This comment has been minimized.
xiaoyunfei
commented
Jan 5, 2018
|
I have the same problem. Please fix it,please!!! |
This comment has been minimized.
This comment has been minimized.
jackyhieu1211
commented
Jan 31, 2018
•
|
I have the same problem. And I solved it. It worked.
|
This comment has been minimized.
This comment has been minimized.
CristianCardosoA
commented
Sep 6, 2018
|
This is still happening on September 2018 using 'com.twitter.sdk.android:twitter:3.1.1' |
This comment has been minimized.
This comment has been minimized.
CristianCardosoA
commented
Sep 8, 2018
•
|
After review FileUtils class, the best approach to share an image to Twitter is using: MediaStore.Images.Media.insertImage(cr, bitmap, title, title)
|
This comment has been minimized.
This comment has been minimized.
|
Note: Twitter kit is no longer being actively maintained. But if you submit a PR I can still review and merge. |
koral-- commentedMay 6, 2016
AppCardBuilder#imageUri()withcontentUri serviced by provider which does not expose_datacolumn eg. FileProviderAs you see,
_datacolumn may not exist, image may even not be served from file. You should use appropriate ContentResolver methods to retrieve image content../gradlew :app:dependencies):