Changes between Version 72 and Version 73 of BluePrint/SocialMedia


Ignore:
Timestamp:
12/01/13 03:50:04 (11 years ago)
Author:
Govind Menon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/SocialMedia

    v72 v73  
    132132==== Searching Tweets ====
    133133* Configuring twitter account:
    134 Sign into https://dev.twitter.com and create an app. (Select an application Type: Client). Put the Callback URL as blank and create your own Twitter application. After creating an app on twitter account, you will be able to see a tab called OAuth tool.
    135 Open eden/models/000_config.py file. Under Twitter Settings, add consumer_key and consumer_secret obtained from the twitter app's OAuth tool. Edit the following lines in 000_config.py
     134Sign into https://dev.twitter.com and create an app. (Select an application Type: Client). Put the Callback URL as blank and create your own Twitter application.
    136135
    137   {{{settings.msg.twitter_oauth_consumer_key = "<consumer key from twitter app>"}}}[[BR]]
    138   {{{settings.msg.twiiter_oauth_consumer_secret = "<consumer_secret from twitter app>"}}}
     136* Create an access token
     137
     138* Go to eden/msg/twitter_channel , select a channel and enter the details from your Twitter Application.
    139139
    140140* Add keywords to be searched:
    141 Go to a page eden/msg/twitter_search. You can add keywords / search queries records under this page. It will ask you for a PIN to enter before saving the keywords/queries. The pin is obtained from Twitter app that was created.
     141Go to a page eden/msg/twitter_search. You can add keywords / search queries records under this page.
    142142
    143143* Populating database with search results:
    144 After saving the keywords/ queries, click on Results which triggers the search and msg_twitter_search_results table in the database gets populated.
    145 
     144After saving the keywords/ queries, click on Search which triggers the search and msg_twitter_search_results table in the database gets populated or if you had selected "Search After Save?" the Search will run automatically after saving
    146145==== Processing Tweets ====
    147146After fetching the twitter feeds, the Geo-tagged tweets are processed. They are parsed to fetch user information, tweet data and location information in terms of latitude and longitude. All this information then goes into the msg_twitter_search_results table.