Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCSRFToken ¶
GenerateCSRFToken generates a new CSRF token for Twitter requests. The token is a 32-character hexadecimal string, matching Twitter's format.
Example:
token, err := GenerateCSRFToken() if err != nil { // handle error } // token = "1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6p"
Returns:
- string: 32-character hexadecimal CSRF token
- error: if token generation fails
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.