Twitter REST API Method: saved_searches create

Page history last edited by Doug Williams 5 mos ago

<< Back to Twitter API Documentation

 

saved_searches/create

Creates a saved search for the authenticated user.

method status | report a bug
 

URL:

http://twitter.com/saved_searches/create.format

 

Formats: 

xml, json

 

HTTP Method(s):

POST

 

Requires Authentication (about authentication):

true

 

API rate limited (about rate limiting):

true

 

Parameters:

  • query.  Required.  The query of the search the user would like to save.

 

Response (about return values): 

          XML example (truncated):

<?xml version="1.0" encoding="UTF-8"?>

 

<saved_search>

<id>313006</id>

<name>twitter api</name>

<query>twitter api</query>

<position></position>

<created_at>Thu Jun 04 21:54:17 +0000 2009</created_at>

</saved_search>

 

Usage examples: 

cURL (about cURL):

curl -u user:password -d "query=twitter api" http://twitter.com/saved_searches/create.xml

 

          Do you have an example to share in the language of your choice? Please share!

 

<< Back to Twitter API Documentation

Comments (0)

You don't have permission to comment on this page.