<div dir="ltr">Excellent! Thanks a lot for the pointers guys! I'll go check it out!<div><br></div><div>As far as I understand, Twitter changed the activity API from a streaming interface to webhooks earlier this year. Don't know if/how the method for authentication changed at the same time, but webhook registration must be new requirement.</div><div><br></div><div>Peter</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 16, 2018 at 8:32 AM Marc Worrell <<a href="mailto:marcw@pobox.com">marcw@pobox.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">In Zotonic we are using a twerl fork.<div><br></div><div><span style="background-color:rgba(255,255,255,0)"><a href="https://github.com/mworrell/twerl.git" target="_blank">https://github.com/mworrell/twerl.git</a></span></div><div><br></div><div>This works well, am on the road so can’t readily checked what we changed.</div><div><br></div><div>- Marc</div><div><br><br><div id="m_7611050333273287983AppleMailSignature" dir="ltr">Sent from my iPhone</div><div dir="ltr"><br>On 16 Oct 2018, at 07:25, Ivan Uemlianin <<a href="mailto:ivan@llaisdy.com" target="_blank">ivan@llaisdy.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><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" target="_blank">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="m_7611050333273287983AppleMailSignature">--<br>festina lente<div><br></div></div><div><br>On 16 Oct 2018, at 00:34, Peter Andersson <<a href="mailto:pekadan@gmail.com" target="_blank">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" target="_blank">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" target="_blank">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></div></div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></div></div></blockquote></div>