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
2
votes
1 answer

how pocket chrome extension integrate buttons on Twitter for one-click saving

Pocket chrome extension has a feature that "Integrated buttons on Twitter.com and Google Reader for one-click saving". Here's a screenshot of my twitter timeline. Every tweet will have a bunch of buttons (Reply, Retweet, Favorite, etc) if we…
manuzhang
  • 2,995
  • 4
  • 36
  • 67
2
votes
2 answers

How to store the access_token gained from OAuth for later use?

I'm attempting to get and store an access token from the Pocket API using Node.js. I am able to get the request token, redirect to the Pocket login page, redirect back to my site, and finally able to exchange the request token for an access…
thebradbain
  • 3,139
  • 4
  • 16
  • 17
2
votes
3 answers

How to do OAuth authentication from Java/Scala when we know username/password?

tl;dr - I want to authenticate against an OAuth 2.0 API with my own username/password from a desktop app (do not want to open browser) from Java/Scala. Why? I want to authenticate with Pocket's v3 API from Java/Scala using my own credentials and…
pathikrit
  • 32,469
  • 37
  • 142
  • 221
2
votes
2 answers

Share to Pocket

I´m trying to share some text to Pocket app, but it keeps telling me: "Could not be saved to Pocket. The shared content did not contain any valid web addresses" I use this snippet to share: Intent intent = new…
Roman
  • 2,079
  • 4
  • 35
  • 53
1
vote
1 answer

Pocket API authorization from Python / Jupyter

The following Python script should authorize me to use my Pocket app to retrieve documents. I'm running it from a Jupyter notebook. import json import pandas as pd import requests from urllib.parse import urlencode from urllib.request import…
Brian Piercy
  • 631
  • 1
  • 7
  • 22
1
vote
1 answer

GitHub workflow for automating Python script with secrets not working

Following is my Python script that adds links from liked tweets to Pocket: from dotenv import load_dotenv load_dotenv() import os import re import tweepy from pocket import Pocket #Twitter keys consumer_key =…
1
vote
1 answer

Axios not working for accessing getpocket api

I can make the oauth request using curl but using axios I get a error about missing consumer key X-Error Missing consumer key. This happens in the OPTIONS phase of making the request. axios({ method: 'post', url:…
KahunaCoder
  • 615
  • 7
  • 14
1
vote
1 answer

Retrieve Tags From GetPocket API (Python)

I have found a lot of documentation and helpful api wrappers for getpocket.com API but I still haven't been able to find a workable answer as to how I can retrieve the tags associated with the articles I have saved. There are a number of tutorials…
Keenan Burke-Pitts
  • 475
  • 2
  • 6
  • 17
1
vote
1 answer

Android app coding error

I downloaded a source code and i saw some errors i cannot fix on my on its listed below MainActivity.java package com.droidoxy.pocket; also got error in import android.transition.*; private void checkReadPhoneStatePermission() { if…
user7197369
1
vote
0 answers

Can a 'save to pocket' be detected?

I want to be able to track how many people save articles to Pocket from my page. I contacted Pocket support and they said that the Chrome extension doesn't emit an event when it's clicked. I was hoping to be able to drive a Google analytics goal…
Ben
  • 12,614
  • 4
  • 37
  • 69
1
vote
3 answers

How to lift the value of a JSON object that is nested two levels deep?

Given the following test.json that I received as a response from the Pocket API, { "complete": 1, "error": null, "list": { "1000055792": { "excerpt": "Some Text", "favorite": "0", "given_title": "Some Title", …
1
vote
1 answer

Pocket API fails when re-trying to authorize user

I have the following issue with the Pocket API in a Web app: At first the login flow works correctly and I can make authenticated calls. If the user reloads the page, when re-trying to authorize I get the following message: If I restart the…
adrianp
  • 2,491
  • 5
  • 26
  • 44
1
vote
1 answer

pocket api request failing - missing consumer key

could anyone help me understand what's wrong with this request to pocket? curl -Li http://getpocket.com/v3/oauth/request -X POST -H "Content-Type: application/json" -H "X-Accept: application/json" -d…
phatmanace
  • 4,671
  • 3
  • 24
  • 29
1
vote
1 answer

Is there a way to force Pocket to add URL as Article?

When I want to add some URL to Pocket - sometimes Pocket decides to add it under "all items" instead of "articles". Is there any way to force Pocket to add URL as Article ? The reason I am asking for it is that I have a Kobo Aura HD ebook reader and…
Michal Przybylowicz
  • 1,558
  • 3
  • 16
  • 22
1
vote
0 answers

Trouble retrieving data from Pocket API using jquery.post()

I'm attempting to retrieve data from my Pocket account using the Pocket API by accessing it with a jQuery post function. I have obtained the consumer key and access token and when I execute the following code I get a parseerror ...but the data…
Shean McManus
  • 158
  • 1
  • 10