24 lines
573 B
Go
24 lines
573 B
Go
package threadsapi
|
|
|
|
import "strings"
|
|
|
|
// DefaultOAuthScopes lists all Threads API permissions used by this product.
|
|
// threads_basic is required for all API usage.
|
|
var DefaultOAuthScopes = []string{
|
|
"threads_basic",
|
|
"threads_content_publish",
|
|
"threads_delete",
|
|
"threads_keyword_search",
|
|
"threads_location_tagging",
|
|
"threads_manage_insights",
|
|
"threads_manage_mentions",
|
|
"threads_manage_replies",
|
|
"threads_profile_discovery",
|
|
"threads_read_replies",
|
|
"threads_share_to_instagram",
|
|
}
|
|
|
|
func OAuthScopeString() string {
|
|
return strings.Join(DefaultOAuthScopes, ",")
|
|
}
|