Stored Procedures
Stored procedures are available to complement the data available from the Data Model. It may be necessary to update data available from a view using a stored procedure because the data does not provide for direct, table-like, two-way updates. In these situations, the retrieval of the data is done using the appropriate view or table, while the update is done by calling a stored procedure. Stored procedures take a list of parameters and return back a dataset that contains the collection of tuples that constitute the response.
Twitter Adapter Stored Procedures
| Name | Description |
| GeoSearch | Run a geo-search against the Twitter service. |
| GetOAuthAccessToken | Obtains the OAuth access token to be used for authentication with Twitter. If using a Windows application, set AuthMode to APP. If using a Web App, set AuthMode to WEB and specify the AuthToken, AuthKey, and Verifier returned by GetOAuthAuthorizationUrl. |
| GetOAuthAuthorizationURL | Gets the authorization URL, AuthToken, and AuthKey from Twitter. Navigate to the authorization URL in an Internet browser. This will return a verifier token that you will need to use as input along with the AuthToken for the GetOAuthAccessToken stored procedure. |
| GetRemainingRequests | Returns the number of remaining requests that can be made to Twitter and how long until the request limit is reset. |
| ReverseGeoSearch | Reverse-searches a place based on the specified latitude and longitude. |
| UploadMedia | Uploads an image or video. |