Hello all and first thing to apologize for my poor English.
I wanted to comment my problem on the attempt of the integration retweet on my android application.
So far I managed to authenticate with OAUTH and even I have been able to send a tweet.
My problem starts when I want to be able to send retweet from a ID that I have saved in a class.
I have tried almost everything, Ive been dozens of hours looking for information on this, but without knowing if I on the right track.
trying to create a getRetweetsById function
trying to make http GET to the address:
https://API.Twitter.com/statuses/retweets/21943348.json
... getting the same response in all cases
It doesnt work.
If someone could guide me which is the appropriate method and the steps i should follow I would be eternally grateful.
Thanks and best regards
hey try following code
Twitter mTwitter = TwitterFactory.getInstance();
mTwitter.retweetStatus("send ur id here");
thanks
santhu
Related
I am unable to register new Client ID on Instagram developers page. Everytime I got error The captcha solution was not correct. Please try again. I am trying more than one day.
There is a problem with the CSP , i solve the problem using a CSP Disabler Extension, At the momment you disactivated it , the recapcha will be show. It work for me like 3 hours ago , From a Mac and using Google Chrome. I hope this helps.
I won't post the Extesion that i used because they deleted my last answer and telling me it was a "Drive-by-link-dropping". I reposting the answer only to try to help the OP.
I'm trying to implement "ask life", "send life" features in my game. Now I'm stuck with facebook-unity sdk. I was able to send simple requests with FB.AppRequest, but can't figure how to send requests with OGActionType.SEND and OGActionType.ASKFOR types. As I figured out, I need to send objectId of the object that i want send to another player. But, I can't figure out how to add it. Object browser in facebook developer dashboard doesn't contains button for adding new object
I found another question, where mentioned that 2.8 FB api doesn't support creation of new objects: Add new object with facebook developer api v2.8
So, I have 2 main questions currently:
Is it possible to implement "send life" feature with facebook-unity api ?
If yes, can I do something to add facebook OG object or there is another way to do it?
Yes, it is possible to do what you want, and I believe OG objects are the way to do it. I wrote a tutorial a while back on how to achieve just this, since it took me a while too to figure it out.
Hope it helps you!
http://www.bigfootgaming.net/blog/tutorials/facebook-open-graph-objects-in-unity3d/
I've been bumping my head to the wall for hours now, I'm trying to make the simplest chat activity using QuickBlox, so far I've managed to create users and sign them in, the problem comes in when I call:
chat = QBChatService.getInstance().createChat();
It throws an Illegal state exception saying that I have to be logged in, I can't find anything on how createChat works so am wandering the dark here .. any help is really appreciated.
Soooo.. I got it to work, and am not telling you how :# lol, all I had to do was to log in using:
QBChatService.getInstance().loginWithUser(..);
As simple as that !
I am building a simple search app through MIT AppInventor. I have had no problems in querying my spreadsheet shared as public on the cloud.
Suddenly, for no reason, my GET request to the HTTP fails with a response code of -1. I have looked everywhere but can't find an explanation for this -1 code.
Let me repeat that the same block of codes was working perfectly fine until this happened. Now I can't figure out what is going wrong. Any help will be much appreciated.
I solved this problem when I found out that my target spreadsheet link, which used to start with http:// was changed to https://. I found that my browser redirected me to https:// when I tried to run my query directly on the web. So changing that in my code fixed the issue.
I came across a similar issue recently. It used to work and I found out that my get request was being redirected to a login page being the session had expired.
I suggest you open the get request using the webviewer component (or activitystarter) to give you a better understanding of where the error is coming from.
I've spend about 5 hours searching ways how to authorize to Google+ in my Android app.
I need to get user id, his name and avatar.
I have all required data such Client ID and Client Secret.
I've tryied this code https://github.com/imellon/Google-Plus-Android-Sample#readme but when I call
execute()
method in
GoogleAuthorizationCodeGrant
class, I get 400 Bad Request Error. And I don't know why.
I couldn't find any example how to authorize via google-api-java-client.
If anyone has working example how to solve my problem - please help me!
The Google+ Android starter application demonstrates this use case:
http://code.google.com/p/google-plus-java-starter/source/browse/#hg%2Fandroid