How to export CSV file with specific name?

How can I export tweets on search results to Excel (.csv file)?

  • I want to extract tweet text and it url from the search result. Although I know my tweets archive can export to csv in my account setting, I could never find the way of exporting to csv in the search results. Does anyone know how doing that thing? I appreciate your help, whether it is web survives or other suggestion like programming (if necessary, I'll try).

  • Answer:

    The twitter API will allow you to pull tweets for a given search term. First you will need to create an App on Twitter's site https://apps.twitter.com/, so that you can obtain the necessary authentication keys. Then you'll be able to make a request to the Twitter API and receive a JSON formatted file containing tweets for your search term. This library https://github.com/VBA-tools/VBA-Web simplifies the process of accessing the API. I have an example here: http://data-analysis-excel.com/importing-tweets-to-excel/

Lukas Halim at Quora Visit the source

Was this solution helpful to you?

Other answers

NodeXL will write tweets to a spreadsheet. See: http://Nodexl.codeplex.com

Marc Smith

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.