<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Webhooks in PHP in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhooks-in-PHP/m-p/4275#M162</link>
    <description>&lt;P&gt;You need to return the value of the query string parameter called "challenge".&lt;/P&gt;

&lt;P&gt;This PHP code should do the trick:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?php
    echo $_GET['challenge'];
?&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 18 Dec 2014 13:22:48 GMT</pubDate>
    <dc:creator>Steve M.</dc:creator>
    <dc:date>2014-12-18T13:22:48Z</dc:date>
    <item>
      <title>Webhooks in PHP</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhooks-in-PHP/m-p/4274#M161</link>
      <description>&lt;P&gt;I have been playing round with the PHP SDK, but have not figured out exactly what I should be sending back for the verification request.  the documentation rather ambigously says "Your app needs to respond by echoing back that challenge parameter." However the error returned states &lt;/P&gt;

&lt;P&gt;Error: error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)&lt;/P&gt;

&lt;P&gt;Response:&lt;BR /&gt;
(No headers)&lt;/P&gt;

&lt;P&gt;Response Body (First 256 bytes):&lt;BR /&gt;
(No response body)&lt;/P&gt;

&lt;P&gt;Is there some sample code for PHP?  The documentation only has Python.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Paul.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:46:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhooks-in-PHP/m-p/4274#M161</guid>
      <dc:creator>Paul E.</dc:creator>
      <dc:date>2019-05-29T09:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks in PHP</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhooks-in-PHP/m-p/4275#M162</link>
      <description>&lt;P&gt;You need to return the value of the query string parameter called "challenge".&lt;/P&gt;

&lt;P&gt;This PHP code should do the trick:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?php
    echo $_GET['challenge'];
?&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Dec 2014 13:22:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhooks-in-PHP/m-p/4275#M162</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2014-12-18T13:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks in PHP</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhooks-in-PHP/m-p/4276#M163</link>
      <description>&lt;P&gt;Actually, I missed the SSL error in your post. If there's an SSL error, it means we can't even connect to your server to get a response. You'll need to resolve that issue first... if you need help, please open an API support ticket: &lt;A href="https://www.dropbox.com/developers/contact" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/contact&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2014 13:34:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhooks-in-PHP/m-p/4276#M163</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2014-12-18T13:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks in PHP</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhooks-in-PHP/m-p/4277#M164</link>
      <description>&lt;P&gt;Thanks for the quick response!&lt;BR /&gt;
I tried a simple echo statement first, but it would seem the SSL error is causing the issue.&lt;BR /&gt;
Oddly enough the SSLTester returns OK:&lt;/P&gt;

&lt;HR /&gt;

&lt;H2&gt;Testing your PHP installation's SSL implementation for a few obvious problems...&lt;/H2&gt;

&lt;UL&gt;
&lt;LI&gt;Host OS: Linux 3.2.0-54-virtual&lt;/LI&gt;
&lt;LI&gt;PHP version: 5.3.10-1ubuntu3.8&lt;/LI&gt;
&lt;LI&gt;cURL version: 7.22.0&lt;/LI&gt;
&lt;LI&gt;cURL SSL backend: OpenSSL/1.0.1
Basic SSL tests

&lt;UL&gt;
&lt;LI&gt;testAllowed (&lt;A href="http://www.dropbox.com" rel="nofollow noreferrer"&gt;www.dropbox.com&lt;/A&gt;) .................... ok&lt;/LI&gt;
&lt;LI&gt;testAllowed (&lt;A href="http://www.digicert.com" rel="nofollow noreferrer"&gt;www.digicert.com&lt;/A&gt;) ................... ok&lt;/LI&gt;
&lt;LI&gt;testHostnameMismatch (&lt;A href="http://www.v.dropbox.com" rel="nofollow noreferrer"&gt;www.v.dropbox.com&lt;/A&gt;) ......... ok&lt;/LI&gt;
&lt;LI&gt;testUntrustedCert (testssl-expire.disig.sk) ...... ok
Pinned certificate tests&lt;/LI&gt;
&lt;LI&gt;testUntrustedCert (&lt;A href="http://www.verisign.com" rel="nofollow noreferrer"&gt;www.verisign.com&lt;/A&gt;) ............. ok&lt;/LI&gt;
&lt;LI&gt;testUntrustedCert (&lt;A href="http://www.globalsign.fr" rel="nofollow noreferrer"&gt;www.globalsign.fr&lt;/A&gt;) ............ ok &lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 18 Dec 2014 13:38:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhooks-in-PHP/m-p/4277#M164</guid>
      <dc:creator>Paul E.</dc:creator>
      <dc:date>2014-12-18T13:38:44Z</dc:date>
    </item>
  </channel>
</rss>

