<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Dear Peter</div><div><br></div>I have an old erlang twitter client (using oauth) that used to work. When I get to the office I’ll see if it still works (twitter change their api regularly) & if so might be able to help.<div><br></div><div>It began as a fork of twerl:</div><div><br></div><div> <a href="https://github.com/lucaspiller/twerl">https://github.com/lucaspiller/twerl</a></div><div><br></div><div>Best wishes</div><div><br></div><div>Ivan</div><div><br><br><div id="AppleMailSignature">--<br>festina lente<div><br></div></div><div><br>On 16 Oct 2018, at 00:34, Peter Andersson <<a href="mailto:pekadan@gmail.com">pekadan@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I'm working on an Erlang app interfacing Twitter using the Account Activity API and I can't get the app and default user to pass authentication. I started out using the erlang-oauth lib on github (<a href="https://github.com/tim/erlang-oauth">https://github.com/tim/erlang-oauth</a>) to generate a valid oauth 1.0 signature, but then Twitter authentication failed and I did my own oauth signing function. My function produced the exact same result as erlang-oauth though (go figure!), so the signature itself is probably not an issue. Maybe I'm not getting the parameters right, or the actual request.</div><div><br></div><div>Anyone on the list been interfacing Twitter from an Erlang program using webhooks? If so, would you mind sharing some knowledge? I would really appreciate seeing an example of a working webhook URL registration (POST to the account_activity endpoint in user context).</div><div><br></div><div>Thanks,</div><div>Peter</div></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></div></body></html>