Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
Tobias Klika edited this page Oct 17, 2013 · 1 revision

Adds a new item to your pocket list. Accepts four parameters, with uri being required.

Task<PocketItem> Add(Uri uri, string[] tags = null, string title = null, string tweetID = null)

Example:

PocketItem newItem = await _client.Add(
	new Uri("http://www.neowin.net/news/full-build-2013-conference-sessions-listing-revealed"),
	new string[] { "microsoft", "neowin", "build" }
);

The title can be included for cases where an item does not have a title, which is typical for image or PDF URLs. If Pocket detects a title from the content of the page, this parameter will be ignored.

If you are adding Pocket support to a Twitter client, please send along a reference to the tweet status id (with the tweetID). This allows Pocket to show the original tweet alongside the article.

Clone this wiki locally