profile
viewpoint
Andy Piper andypiper @twitter Kingston upon Thames, UK http://andypiper.co.uk work @twitterdev - community, code, and respect. they/them

andypiper/karma 5

Karma Phone - a hack from the #ideomake event

andypiper/CocoaMQTT 2

MQTT for iOS and OS X written with Swift

andypiper/hackdaymanifesto.github.com 2

The Hackday Manifesto

andypiper/AirPi 1

A Raspberry Pi air quality station

andypiper/andypiper.github.io 1

Simple user page landing page for code projects etc.

andypiper/bucket-list 1

A list of things I'd like to achieve or experience before I die. Pull requests considered, thoroughly, then most likely rejected.

andypiper/cards-demos 1

Twitter Cards playground

andypiper/DMArchiver 1

A tool to archive the direct messages, images and videos from your private conversations on Twitter

andypiper/flickr-export-organizer 1

Organizing the flickr export

andypiper/fsc_flogr 1

FSC Hackday data logger Arduino sketches

issue commentjt-nti/barnard-castle

Improve UI!

I might just wait for you to do the remaining, then... :-P the icon is cool though.

jt-nti

comment created time in 7 hours

issue openedjt-nti/barnard-castle

Use semantic HTML

I’m working on this. Very much as a background fun optional change.

created time in a day

issue commentjt-nti/barnard-castle

Improve UI!

(I’ve made a fork to work on these)

jt-nti

comment created time in a day

issue commentjt-nti/barnard-castle

Improve UI!

  • add icon and colours
  • add manifest and meta tags for home screen installation and launch on mobile
  • add help text / information about what this is for / does
  • use a responsive stylesheet
jt-nti

comment created time in a day

fork andypiper/barnard-castle

Hack to scan NHS COVID-19 check-in QR codes

https://covidqr.nti.me.uk/

fork in a day

startedjt-nti/lametric-cheerlights

started time in a day

startedjt-nti/barnard-castle

started time in a day

startedbluemon0919/Twitter-API-v2-sample-code

started time in a day

startedtravisbrown/cancel-culture

started time in 2 days

startedleits/MeetingBar

started time in 3 days

issue commenttwitterdev/account-activity-dashboard

I try and add a webhook using the gui, but get an error response for CRC, need help

Hello. Have you listed your callback URL on the developer dashboard? where are you seeing this error?

Mikeac94

comment created time in 6 days

issue commenttwitter/twitter-text

Swift Package Manager installation option

In the meantime, we have https://twittercommunity.com/c/libraries-and-sdks/63 if you would like to announce this to other developers on the forums! thank you!

Silent404

comment created time in 6 days

startednysander/twitter-text

started time in 6 days

issue commenttwitter/twitter-text

Swift Package Manager installation option

This is interesting! Thank you @nysander - i'll talk to the team about how best to promote / include this.

Silent404

comment created time in 6 days

startedlukeschissler/twitter-analytics

started time in 6 days

issue openedlukeschissler/twitter-analytics

Regenerate and remove your bearer token

Having your bearer token directly in your code could put your application at risk of hijacking (requests rate limit / quota), I'd recommend regenerating the consumer key and secret and token on the Developer Dashboard, and removing it from your code here. Read it from a local config file or environment variable instead.

created time in 6 days

startedm92o/twitter-go

started time in 6 days

startedtwitter/dict_minimize

started time in 6 days

startedchilume/twitter

started time in 14 days

startedalecmuffett/real-world-onion-sites

started time in 14 days

issue openedandypiper/TwitterDotNetCore

Error handling

Gracefully handle errors eg Network, API, Argument issues

<!-- Edit the body of your new issue then click the ✓ "Create Issue" button in the top right of the editor. The first line will be the issue title. Assignees and Labels follow after a blank line. Leave an empty line before beginning the body of the issue. -->

created time in 15 days

issue commentropensci/rtweet

Use of V2 API

There is no 30 day search or user timeline option in the Twitter API V2 yet but these are both coming soon. We are as excited as you are to see rtweet expand to support V2!

sugarcane29

comment created time in 17 days

startedtoofusan/Twity

started time in 17 days

push eventtwitter/twurl

Andy Piper

commit sha 6c2f7bb69225d86e296b8bea94b3aaa4f63a2b87

Update config.yml

view details

push time in 17 days

push eventtwitter/twurl

Andy Piper

commit sha f89553fcbe8db458e998ebd0303f9c8c5b610d6e

Update issue templates

view details

push time in 17 days

push eventtwitter/twurl

Andy Piper

commit sha 671ef6cf46e3d1dff713be9a6fe44b9e20e3ad45

Delete ISSUE_TEMPLATE.md

view details

push time in 17 days

push eventtwitter/twurl

Andy Piper

commit sha f7c6a149dbaadb455a71b49a2efdc219bc89b465

Create config.yml

view details

push time in 17 days

push eventtwitter/twurl

Andy Piper

commit sha 73593e5b5f5ae817af2a7c8ba1db9698bf12f8a3

Update issue templates

view details

push time in 17 days

startedxxgicoxx/botgen

started time in 17 days

startedjaeyk/tidytweetjson

started time in 17 days

startednickbouldien/tweets-en-vivo

started time in 18 days

startedsns-sdks/python-twitter

started time in 18 days

startedPLhery/node-twitter-api

started time in 18 days

startedtrygve-lie/twitter-stream-api

started time in 18 days

startedgabber12/gotweet

started time in 18 days

startedmbleigh/twitter-auth

started time in 19 days

startedsmaeda-ks/twitter-ads-api-analytics-debugger

started time in 19 days

issue commentmicrosoft/winget-cli

Check if Package installed

I'd like the ability to know which packages are installed / have been installed via winget; and to ideally export to a file for future setups. My use case is a brand new Surface Laptop 3, migrating from an HP, would be great to know what I just winget-installed, and to export to a file for a future new setup, similar to a Brewfile. I understand that winget is not homebrew, but this would be very useful.

ghost1372

comment created time in 20 days

startedBearer/Pizzly

started time in 20 days

startedchaukap/Twitter.Net

started time in 20 days

startednartc/nx-twitter-api-stream

started time in 20 days

startedstripe-samples/developer-office-hours

started time in 24 days

startedHunterLarco/twitter-v2

started time in a month

issue commenttwitter/twitter-text

Is there a document explaining the tech spec of a hashtag?

The main documentation for our parsing is here, however it doesn’t specifically call out hashtags. What are you interested in, whether or not a hashtag is just a term starting with a hash/pound character, or other things?

hiteshsharma

comment created time in a month

pull request commentCoreTweet/CoreTweet

WIP: Proposal: Add support for Twitter API v2

In principle this is just a URL / endpoint change, but excited to see your library progress to supporting v2 endpoints! :-) let us know if you have questions or want to announce a release.

acid-chicken

comment created time in a month

issue closedtwitter/twitter.github.io

Glitch in Twitter desktop app on Windows 10

When I am scrolling down through my laptop on Twitter App of Windows 10, a glitch is occurring on the top bar where we see Home, Explore etc. written. The issue is that the content while scrolling, is going over that bar for a second, again and again, resulting sometimes in a complete disappearance of that top bar.

closed time in a month

abhishekrawat22

issue commenttwitter/twitter.github.io

Glitch in Twitter desktop app on Windows 10

This repo is for Twitter’s Open Source software website; unfortunately it is not a place to report bugs or issues in the Twitter apps. You should talk to @TwitterSupport on Twitter - there’s no formal bug tracker.

abhishekrawat22

comment created time in a month

issue commentttezel/twit

Error 404 with the var stream

I am not aware of a way to use twit directly with the Account Activity API, you would have to check with the maintainers - that’s why I suggested autohook or an alternative.

PurpleRain12

comment created time in a month

push eventandypiper/andypiper

Andy Piper

commit sha e2358f3c027d4edbd0f602f5eac04301faa3e6cd

Update README.md

view details

push time in a month

issue closedtwitter/twurl

When will the "`expand_path': couldn't find login name -- expanding `~' (ArgumentError)" get fixed?

Hello,

I have ran into the exact same here as issue #142, except I am using the exec() function VS the shell_exec() function. Is there an easy workaround for the moment?

closed time in a month

RiversideRocks

issue commenttwitter/twurl

When will the "`expand_path': couldn't find login name -- expanding `~' (ArgumentError)" get fixed?

Should be resolved in v0.9.6 just released

RiversideRocks

comment created time in a month

release twitter/twurl

v0.9.6

released time in a month

created tagtwitter/twurl

tagv0.9.6

OAuth-enabled curl for the Twitter API

created time in a month

push eventtwitter/twurl

Andy Piper

commit sha f986f114b023741ecce1f0cf5fe4be4b5e1f3149

prepare 0.9.6 release (#152)

view details

push time in a month

PR merged twitter/twurl

prepare 0.9.6 release

Rev release numbers

+5 -5

0 comment

3 changed files

andypiper

pr closed time in a month

PR opened twitter/twurl

prepare 0.9.6 release

Rev release numbers

+5 -5

0 comment

3 changed files

pr created time in a month

push eventandypiper/twurl

Andy Piper

commit sha 1c841cf2ce14d45ac1a6d69691b79eb822986333

prepare 0.9.6 release

view details

push time in a month

push eventtwitter/twurl

Shohei Maeda

commit sha 138c978ba1ce83f5a0e6fb6751cdc3483d3f07a1

2020-03 patch (#145) * handle invalid option exceptions * deprecate xauth * fix #142 * supress undefined method error #149

view details

push time in a month

issue closedtwitter/twurl

`expand_path': couldn't find login name -- expanding `~' (ArgumentError)

I'm trying use Support authorization options on request

When I run with a user without $HOME directory, in the case www-data (apache user), I'm getting the error:

/var/lib/gems/2.5.0/gems/twurl-0.9.5/lib/twurl/rcfile.rb:6:in `expand_path': couldn't find login name -- expanding `~' (ArgumentError)
	from /var/lib/gems/2.5.0/gems/twurl-0.9.5/lib/twurl/rcfile.rb:6:in `directory'
	from /var/lib/gems/2.5.0/gems/twurl-0.9.5/lib/twurl/rcfile.rb:14:in `file_path'
	from /var/lib/gems/2.5.0/gems/twurl-0.9.5/lib/twurl/rcfile.rb:18:in `load'
	from /var/lib/gems/2.5.0/gems/twurl-0.9.5/lib/twurl/rcfile.rb:30:in `initialize'
	from /var/lib/gems/2.5.0/gems/twurl-0.9.5/lib/twurl/oauth_client.rb:6:in `new'
	from /var/lib/gems/2.5.0/gems/twurl-0.9.5/lib/twurl/oauth_client.rb:6:in `rcfile'
	from /var/lib/gems/2.5.0/gems/twurl-0.9.5/lib/twurl/oauth_client.rb:12:in `load_from_options'
	from /var/lib/gems/2.5.0/gems/twurl-0.9.5/lib/twurl/cli.rb:25:in `dispatch'
	from /var/lib/gems/2.5.0/gems/twurl-0.9.5/lib/twurl/cli.rb:21:in `run'
	from /var/lib/gems/2.5.0/gems/twurl-0.9.5/bin/twurl:4:in `<top (required)>'
	from /usr/local/bin/twurl:23:in `load'
	from /usr/local/bin/twurl:23:in `<main>'

I belive that is correlated this bug in another ruby project.

# fixes: couldn't find login name expanding tilde (cont.)

As workaround, I change RCFile class

module Twurl
  class RCFile
    FILE = '.twurlrc'
    class << self
      def directory
        @@directory ||= '' 
        #@@directory ||= File.expand_path('~')

Expected behavior

Send request without .twurlrc file

Actual behavior

twurl crash and print a error message

Steps to reproduce the behavior

  • install a php + apache setup on linux
  • install twurl
  • create php script with a shell_exec command executing twurl with all authentication options

closed time in a month

edipoReboucas

PR merged twitter/twurl

Reviewers
2020-03 patch BugFix

Fix for: https://github.com/twitter/twurl/issues/142 https://github.com/twitter/twurl/issues/143 https://github.com/twitter/twurl/issues/144

+21 -30

1 comment

5 changed files

smaeda-ks

pr closed time in a month

PullRequestReviewEvent

startedermirbeqiraj/twitter-data-crawl

started time in a month

pull request commentredouane59/twitter-client

feat: filtered streams

The v2 (post-Labs) documentation is here

redouane59

comment created time in a month

push eventandypiper/TwitterDotNetCore

Andy Piper

commit sha 076fb904b087690b800238cf37ab61dbf18cc0a8

Update linter.yml

view details

push time in a month

push eventandypiper/TwitterDotNetCore

Andy Piper

commit sha bf5257a875c2f2322d166d7ac7f7235f96a569ae

Create codeql-analysis.yml

view details

push time in a month

push eventandypiper/TwitterDotNetCore

Andy Piper

commit sha c07452b9380206051b8635d8152a715fcd1f0fbc

Update to v2 API

view details

Andy Piper

commit sha 03bd1b42a700d553529f0ee27d6e051f30e649ba

fix readme

view details

push time in a month

started1000ch/twitter-search-builder

started time in a month

startedivgtr/twcl

started time in a month

startedpushshift/snowflake2time

started time in a month

startedpushshift/token_manager

started time in a month

startedJamieMagee/hashflags-function

started time in a month

startedg8rswimmer/go-twitter

started time in a month

push eventandypiper/andypiper

Andy Piper

commit sha 8adac1bc7d588274e90aa3516c6fd4180fa60510

Update README.md

view details

push time in a month

startedcreachadair/twitter

started time in a month

startedpufferfish-tech/octopus-agile-pi-prices

started time in a month

startedifvictr/iora

started time in a month

startedCodingCarter/dwitter

started time in a month

issue commentsferik/twitter

Unable to retrieve rate limit info from Twitter::REST::Tweets.update

There is no API-provided rate limit for posting Tweets. These are account-level limits (see here). Unfortunately this means that you need to do your own manual counting in code, there's no header or endpoint that can help you.

thibauds

comment created time in a month

startedbricklife/LEGO-Mario-Reveng

started time in a month

startednearprosmith/legomario-on-mac

started time in a month

issue commenttwitter/twurl

When will the "`expand_path': couldn't find login name -- expanding `~' (ArgumentError)" get fixed?

Thanks, yes, I’m long overdue for actioning this patch. I hope to get to it next week. Thank you for your patience (and for the code, Shohei!)

RiversideRocks

comment created time in a month

startedlets-do-this-engage/twitterv2-lib

started time in a month

push eventtwitterdev/Twitter-API-v2-sample-code

Andy Piper

commit sha 693e88bb55c753ed41c95e140a9dd279dc9eb9b3

Update config.yml

view details

push time in a month

push eventtwitterdev/Twitter-API-v2-sample-code

Andy Piper

commit sha 730c8e4fe0acc1d0813327bada5d9748fd4d518d

Update bug_report.md

view details

push time in a month

issue commentttezel/twit

Error 404 with the var stream

The User Stream API was retired and removed in 2018, so this unfortunately not work. You need to use the Account Activity API instead, and the twit library does not support that. You could take a look here to see if it might help?

https://github.com/ttezel/twit/issues/445

You can also use Twitter's autohook library. There's a full tutorial here.

PurpleRain12

comment created time in a month

startedsercandumansiz/better-twitter

started time in a month

startedwdl/tweet-json-to-html

started time in a month

push eventandypiper/andypiper

Andy Piper

commit sha 28bc58e4e417488a7c316c5ac58cfaf44d6d0070

Update README.md

view details

push time in a month

push eventtwitterdev/Twitter-API-v2-sample-code

Andy Piper

commit sha 2f707b9cdfba41b02e9a822ef9946ca9c448bec4

Update README.md

view details

push time in a month

issue commenttweepy/tweepy

Support premium search APIs

Something like query as (Bitcoin OR BTC OR XBT) -is:retweets -has:links would be my starting point.

ddefranza

comment created time in a month

issue commentsferik/twitter

:geocode param not returning results

That’s good debugging info! Thanks for clarifying!

mafellows

comment created time in a month

issue closedtwitterdev/Twitter-API-v2-sample-code

Adding location parameter to filtered-stream query

Example code is super helpful as I migrate my app to the v2 api, but I can't find any documentation on how to add location tags to a query (specifically for countries, though geo-bounding-boxes, as in v1, would also work)

closed time in a month

dhowe

issue commenttwitterdev/Twitter-API-v2-sample-code

Adding location parameter to filtered-stream query

If you currently have a Labs v1 app that is using this stream, you may need to temporarily fall back to v1.1 stream for the location feature; we’ll share more on location availability in operators when we can. In the meantime, per the other issue, I’m going to close this in favour of this thread on our developer forums; thank you for your understanding as this is not an issue with the sample code, but rather with the features currently in the v2 API.

dhowe

comment created time in a month

issue closedtwitterdev/Twitter-API-v2-sample-code

How to get full 'text' for tweets using filtered streams

This field currently seems to be truncated (with ellipses) for longer tweets

closed time in a month

dhowe

issue commenttwitterdev/Twitter-API-v2-sample-code

How to get full 'text' for tweets using filtered streams

I’m going to close this issue in favour of this thread on our developer forums, which is a better location to have a more wide-ranging conversation on the API in general. Thank you so much.

dhowe

comment created time in a month

push eventandypiper/iterm-twitter-info

Andy Piper

commit sha 3f221527a808a4b437fd4589d758016b060925cf

Updated to Twitter API v2

view details

push time in a month

push eventtwitterdev/Twitter-API-v2-sample-code

Andy Piper

commit sha 61647ffd24ecb86e782cb7b72713906db02a7ff6

Create config.yml

view details

push time in a month

push eventtwitterdev/Twitter-API-v2-sample-code

Andy Piper

commit sha a3d0626a98faf3ab4863a29f55434a4966399d83

Update issue templates

view details

push time in a month

push eventtwitterdev/Twitter-API-v2-sample-code

Andy Piper

commit sha 329346c98f2e8519a6437330af3d764a8b292274

Update README.md

view details

push time in a month

issue commentsferik/twitter

:geocode param not returning results

This could be a simple case of a lack of geocoded Tweets for the area within the past seven days. Exact location was removed from the main Twitter apps in mid-2019 and even with that feature, the number of users that actively choose to add geo information to their Tweets is generally very small.

mafellows

comment created time in a month

more