Package com.restfb
Enum FacebookEndpoints.Endpoint
- All Implemented Interfaces:
Serializable
,Comparable<FacebookEndpoints.Endpoint>
,java.lang.constant.Constable
- Enclosing interface:
- FacebookEndpoints
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionGraph API endpoint URL.Video Upload API endpoint URL.Instagram API endpoint URL.Instagram Graph API endpoint URL.Instagram website URL.Reels Upload endpont URL.General Facebook endpoint URL.Threads Graph API endpoint URL.Threads OAuth endpoint URL. -
Method Summary
Modifier and TypeMethodDescriptiongetUrl()
static FacebookEndpoints.Endpoint
Returns the enum constant of this type with the specified name.static FacebookEndpoints.Endpoint[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SERVER
General Facebook endpoint URL. -
GRAPH
Graph API endpoint URL. -
GRAPH_VIDEO
Video Upload API endpoint URL. -
RUPLOAD
Reels Upload endpont URL. -
INSTAGRAM_GRAPH
Instagram Graph API endpoint URL. -
INSTAGRAM_API
Instagram API endpoint URL. -
INSTAGRAM_OAUTH
Instagram website URL. -
THREADS_OAUTH
Threads OAuth endpoint URL. -
THREADS_GRAPH
Threads Graph API endpoint URL.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getUrl
-