Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Nifi GetHttp processor for facebook api error

Solved Go to solution

Nifi GetHttp processor for facebook api error

Contributor

Iam using facebook api http://www.programmableweb.com/api/facebook and gave fb endpoint http://api.facebook.com/restserver.php

and got this error.

<?xml version="1.0" encoding="UTF-8"?> <error_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://api.facebook.com/1.0/ > <error_code>3</error_code> <error_msg>Unknown method (3)</error_msg> <request_args list="tru...

I used BBC api and it gave valid json. DIdnt use any authentication not sure how it is different from GetTwitter processor.

Iam trying to use Nifi to stream data from any of the following API.. not twitter.. Any help is appreciated

http://www.programmableweb.com/apis/directory

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Nifi GetHttp processor for facebook api error

Hello. In looking at the API/products facebook offers that URL api.facebook.com/restserver.php was not something I could find. Can you point to the Facebook API documentation of the particular endpoint you wish to access?

Also, the programmableweb entry you provided shows that authentication in the form of oauth, apikey, username/password is required. But, it sounds like those weren't set. Might be better to just implement a process to listen to/interact with the Facebook API.

Thanks

Joe

1 REPLY 1

Re: Nifi GetHttp processor for facebook api error

Hello. In looking at the API/products facebook offers that URL api.facebook.com/restserver.php was not something I could find. Can you point to the Facebook API documentation of the particular endpoint you wish to access?

Also, the programmableweb entry you provided shows that authentication in the form of oauth, apikey, username/password is required. But, it sounds like those weren't set. Might be better to just implement a process to listen to/interact with the Facebook API.

Thanks

Joe