Questions tagged [pocket]

Pocket, previously known as Read It Later, is an application for managing a reading list of articles from the Internet.

61 questions
0
votes
1 answer

printing each element of an array with awk

I am trying to backup my Pocket bookmarks to csv & html using the API and I'm having trouble printing each element of an array without blank lines or specifically referencing each element. The consumer key & access token have been replaced with * in…
d313373d
  • 17
  • 5
0
votes
1 answer

How to write blocks (closures) in swift3 right way?

I am trying to find how I can write this blocks in swift3, any help would be appreciated. I am using obj-c PocketSDK in swift3 project. https://github.com/Pocket/Pocket-ObjC-SDK I can use this SDK fine with proper Bridge-Header settings, but still…
Umeumeume
  • 1,952
  • 3
  • 21
  • 40
0
votes
0 answers

IFTTT Maker Filter for Twitter URL

One of my favorite IFTTT recipes is to save the links from Tweets that I favorite to my Pocket account. Unfortunately, the default recipe for this also saves the text of Tweets I favorite that don't have links. Recently IFTT offered a new "maker"…
Kerim
  • 411
  • 4
  • 8
0
votes
2 answers

Assistance with extracting URL from Pocket reading list using Python dictionary

Given this http response (a Python dictionary) {"status":1,"list":{"229279689":{"item_id":"229279689", "resolved_id":"229279689", "given_url":"http:\/\/www.grantland.com\/blog\/the-triangle\/post\/_\/id\/38347\/ryder-cup-preview", "given_title":"The…
ekeen4
  • 352
  • 1
  • 4
  • 10
0
votes
1 answer

iOS - Convert IFNULL(...) JSON key into object attribute

I'm working with Pocket API and getting a user's articles. I use the JSONModel library that I found on GitHub to make Article objects using the attributes that I get from the JSON response. Each Article object has a wordCount attribute that used to…
Rafi
  • 1,902
  • 3
  • 24
  • 46
0
votes
1 answer

How to get Pocket counter from Pocket Button (using jQuery)?

I made custom share buttons and wanna add Pocket count to them. If you're open this link https://widgets.getpocket.com/v1/button?count=vertical&url=http://google.com in browser, you'll see Pocket button with counter (for ex. URL is google.com). It's…
Platon
  • 495
  • 1
  • 4
  • 11
0
votes
1 answer

iOS Pocket API - Reading Own Pocket Article In Web View Or Actual Pocket App

I have an app where users can sign into their own Pocket Account and read their own saved articles in various modes with their reading speed being timed, allowing them to continually progress and become faster and more efficient readers. One of the…
Rafi
  • 1,902
  • 3
  • 24
  • 46
0
votes
1 answer

Pocket authentication returns BadRequest with content-type 'application/json'

I am retrieving access token for pocket api. I am able to do so successfully using a Http POST request with content type as application/x-www-form-urlencoded. { host: 'getpocket.com', path: '/v3/oauth/authorize', port: 443, method: 'POST', …
jsbisht
  • 9,079
  • 7
  • 50
  • 55
0
votes
1 answer

How to redirect UI page from nodejs for OAuth

I am working with Pocket API to get the access token. I have obtained the request token using a POST request. Now i have to redirect the current page localhost:3000/api/pocket_auth to redirect UI page to…
jsbisht
  • 9,079
  • 7
  • 50
  • 55
0
votes
1 answer

Share User Object between App and App Extension in iOS8

I am using Pocket API and authenticating the user on the app. While in the extension i want to use the logged in user to run methods to call various endpoints. The only option to share data between the app and its extension is NSUserDefaults as I…
0
votes
1 answer

NSWorkspace throwing error when bridging library with swift

I'm using the pocket api and bridging it over to use with swift and it's throwing the error "Semantic issue: Use of undeclared identifier 'NSWorkspace'" for the following line in their obj-c API: [[NSWorkspace sharedWorkspace] openURL:url]; The app…
Individual11
  • 374
  • 4
  • 16
0
votes
1 answer

Get Pocket access token in angularjs or nodejs

I am trying to get access token for Pocket. I am using MEAN stack. I am trying to run the following query in the browser: https://getpocket.com/auth/authorize? request_token=YOUR_REQUEST_TOKEN&redirect_uri=YOUR_REDIRECT_URI But i am not sure how to…
jsbisht
  • 9,079
  • 7
  • 50
  • 55
0
votes
1 answer

Pocket API Request Token Failed?

I am trying to get pocket request token with python requests library and getting 400 error. I also tried with postman REST Client and same result. Any thoughts on what I did wrong? This is the python snippet def PocketAuth(): params ={ …
Atrh
  • 195
  • 1
  • 3
  • 16
0
votes
1 answer

"Add To Pocket" as text and not image

Unlike Instapaper, Pocket does not offer publishers a way to add an "Add to Pocket" text anchor. This is the code I gather I should put in my index:
notypist
  • 25
  • 5
0
votes
1 answer

How can I conditionally hide dynamic web content from read-later services (ie Instapaper, Pocket)?

I'm building a single-page website that contains a javascript "calculator" that let's users input custom values and see an output immediately. I don't expect this to work if my page is scraped by a service like instapaper for users to read later…