11-25-2015 10:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-25-2015 10:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello,
I am trying to create a application that would require data from a fitbit user. I have done the registration and gotten the user key and secret. Alright, so far so good. Now when I run my php file it gives these errors:
Warning: mysql_connect(): No connection could be made because the target machine actively refused it. in D:\Xampp\htdocs\Example\oauth-php\example\server\core\init.php on line 53
No connection could be made because the target machine actively refused it.
I am not sure why fitibit is refusing my request.

- Labels:
-
OAuth 1.0a
-
OAuth 2.0
-
PHP
11-25-2015 11:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
11-25-2015 11:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
This is not an issue with Fitbit, mysql_connect() is used in PHP to connect to a MySQL Database.

