twitter

Twitter api searching tweets for hashtags

﹥>﹥吖頭↗ 提交于 2020-01-03 03:34:29
问题 I am new to twitter api and I have spend tremendous amount of time trying to figure this out. I would like to extract a large number (100k - 1m) of tweets for a given search term from most recent tweets. I tried working with tweepy and I was able to setup a stream but I need the data from past as well. I also tried following code but it only gives me 100 at a time and I don't understand how to use since_id and max_id to run through past tweets. Also if someone knows how to extract hashtags

Implement Google 3D maps for my Android app?

自作多情 提交于 2020-01-03 03:03:08
问题 is it possible to use the new Google 3D Maps for Android in my app? I'm developing an app and I want to add this. thanx! http://www.google.com/mobile/maps/3d/ 回答1: We have created this one: Nutiteq 3D Maps SDK. This is a SDK, not application, so you can use it in your apps as replacement of Google Maps SDK. 回答2: You can't. The Google Maps application no longer uses the same SDK MapView that we third-party developers use. Someday, perhaps they will update it, and then 3D maps will be possible,

Submitting to Twitter with Classic ASP

微笑、不失礼 提交于 2020-01-03 01:48:25
问题 I am trying to implement twitter posting on a website. when a user posts an alert and they check off "submit to twitter" I want to send the contents of the box (140 chars of it) to the associated twitter account. So I've done the following: Registered a new app in twitter Gotten all of my tokens/keys Set up the following library: http://scottdesapio.com Changed all of the parameters per the instructions Every time I try to submit, though, I'm getting an "Could not authenticate with OAuth"

The given key was not found in the dictionary

风流意气都作罢 提交于 2020-01-02 23:50:32
问题 I'm developing windows phone 8 application. In this, I have to integrate Twitter. So I have followed the below tutorial. http://code.msdn.microsoft.com/wpapps/Latest-Twitter-integration-a42e8bb6 I've implemented successfully twitter in my application. I've tested this in Emulator and in device also. Everything was fine. Suddenly in the device the application is unable to open the twitter log in page. I'm getting the error in the below method at line started with **. void requestTokenQuery

Android set Arraylist data to custom adapter

怎甘沉沦 提交于 2020-01-02 20:47:15
问题 I have an ArrayList<String> statusListTextOnly; that contains some tweets. Now if I use it like this i.setAdapter(new ArrayAdapter<String>(MainActivity.this, android.R.layout.simple_list_item_1, statusListTextOnly)); Everything is fine, the activity starts and the tweets show in listview. But I wanted to go deep in my app, I want to use custom adapter. So I did: Tweet[] tweets; TweetAdapter adapter; Tweet weather_data[] = new Tweet[] { new Tweet(statusListTextOnly) }; adapter = new

iphone twitter and sharing

老子叫甜甜 提交于 2020-01-02 16:03:13
问题 Has anyone encountered the following error message when sending to Twitter? "Error: Incorrect signature" And on the debug console: <0xf14cf80 SHKTwitter.m:(356)> Twitter Send Status Error: {"request":"\/1\/statuses\/update.json","error":"Incorrect signature"} So far as I can tell I've followed the install instructions on http://www.getsharekit.com/install/#download and it is working with Facebook, e-mail etc. just not Twitter. It would be great if someone has seen this error before and goes

Twitter status API suddenly returning error '34'

安稳与你 提交于 2020-01-02 13:30:12
问题 I have a script that gets the top 3 tweets from my feed. This was working just fine but now it is returning the following error in the JSON: {"errors":[{"message":"Sorry, that page does not exist","code":34}]} Twitter describes this as a classic 404 not found error, but I do not see any disruption from the API status' on the Twitter website. Has something changed in the way we now fetch Tweets? My code: $.getJSON('http://twitter.com/statuses/user_timeline.json?screen_name=' + user + '&count=3

What is the most effective way to get a list of followers using Twitter4j?

谁说胖子不能爱 提交于 2020-01-02 10:22:23
问题 I am using the Twitter4j library and I am trying to get the followers list of the authenticated user. I am doing the following: IDs followersIds = mTwitter.getFollowersIDs(-1); long [] ids = followersIds.getIDs(); List<User> followers = new ArrayList<User>(); for(int i = 0; i < ids.length; i++) { followers.add(mTwitter.showUser(ids[i])); } Although this may work, it's far from being effective since it sends one request for each follower. Besides the slowness of this method, I ultimately get

Simple way to add Facebook/Twitter share to app?

不打扰是莪最后的温柔 提交于 2020-01-02 10:18:31
问题 I'm looking for a drop in solution to add a Facebook and Twitter share button option to my app. I've googled this of course, and found shareKit but it's non-ARC so just throws lots of errors, which is of no use to me. Any other options? they need to be ARC compatible. I want a SDK that I can drop in, throw in the App ID's and be done. 回答1: If you want simple sharing, the following can be used for Twitter and Facebook: if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter

Twitter OAuth Flow - Confused about oob/3-legged auth and general flow, don't need PIN?

天涯浪子 提交于 2020-01-02 07:48:06
问题 Continuation from : Setting up Twitter OAuth without 3rd party libraries Thanks to Mr. Nylander's help, I managed to get my oAuth class working (albeit only after a long time)! However, I'm confused about a few aspects of the oAuth flow. Here's a breakdown of what's happening in a program I made: ==edit, I think I'll post partial code, it's hard to explain with just words for me== //1st code segment HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://api.twitter.com/oauth