Heya, this probably has to do with a recent update from Twitch where 3rd party sites need to authenticate their service before they can access the needed data (Info here).
I dont know who made the !howlong command, but the creator of !followage was notified earlier today, so that one will probably be fixed soon.
If you want, you can also use my followlength script:
!commands add !followsince $(urlfetch https://2g.be/twitch/following.php?user=$(touser)&channel=$(channel))
!commands add !followsince $(urlfetch https://api.2g.be/twitch/followage/$(querystring $(channel))/$(querystring $(touser))?format=ymwdhis)
I don’t know which format you used, this onces default is for example: X is following Y since: 15-09-2014 14:40:36.
You can add &format=days at the end of the link to get: X has been following Y for 731 days.
Or &format=daysint to just get the number of days following.
If you need an other date format, let me know.
&format= (X is following Y since: 15-09-2014 14:40:36) (default)
- &format=days (X has been following Y for 731 days)
- &format=daysint (731)
- &format=months (X has been following Y for 24 months)
- &format=monthsint (24)
- &format=ymwdhis(X has been following Y for 1 year, 10 months, 3 weeks, 3 days, 21 hours, 25 minutes, 14 seconds)
- &format=ymwd(X has been following Y for 1 year, 10 months, 3 weeks, 3 days)
- &format=mdygia (X has been following Y since 01-31-2005, 5:55 PM)
- &format=datewd (X has been following Y since 2014-09-15 (105 Weeks, 1 Day))
- &format=monthday (X has been following Y for 32 months, 30 days)
Or use the PHP date format:
For example: &format=Y-m-d (H:i:s), will return: X has been following Y since 14-09-15 (01:40:36).
If you dont want the leading text, use &format=Y-m-d¬ext, which will return: 14-09-15.
Default timezone is UTC, if you want a different timezone use the timezone parameter for example:
Supported timezones here.