5

I am attempting to use the Facebook JS sdk to retrieve my friends list via FB.api("/me/friends") , but I keep getting the following error: {"type":"http","message":"unknown error"}

When I view the request in Chrome debugger tools it shows the request as failed, but copying the url and going to it in a new window pulls down my friends list data as expected.

Has anyone seen this before?

2 Answers 2

10

This was caused by the Avast security plugin blocking social networks.

Sign up to request clarification or add additional context in comments.

2 Comments

Ghostery would cause that too. Disable it if you are developing a fb app (duh!)
Kaspersky Internet Security also caused the same error.
1

I also had this problem and it seems that Facebook doesn't like if you put the protocol on the app domain and site url fields inside app settings. I had https://blabla.... Removing the protocol solved the error for me.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.