I have integrate Twitter in my app successfully. But i couldn’t post contents on my twitter account wall. I have tried many examples and tutorial. Please help me about this problem. Thanks in advance..
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ok, I use Twitter4j library which you can download at http://twitter4j.org and add to your libs folder in your project.
For the callback url, you have to set it up in your AndroidManifest like so :
After you get your access token back, I would do the following to tweet a file :
This works well for images but I haven’t tried it with video but it seems to me that it would work, you have to try it though.
I hope this helps.