Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Nifi GetHttp processor for facebook api error

avatar
Expert 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

avatar

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

View solution in original post

1 REPLY 1

avatar

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