I am trying to get friendlist from Facebook Messenger in golang using REST API. For this, I tried to import package github.com/huandu/facebook
. But while running the code it gave an error:
package context: unrecognized import path "context" (import path does not begin with hostname)
Here is the import statement (as mentioned in godoc https://godoc.org/github.com/huandu/facebook):
import (
"fmt"
"github.com/huandu/facebook"
)
Can anyone tell me what I am doing Wrong ?