MCPcopy Index your code
hub / github.com/Preloading/TwitterAPIBridge / TwitterIDToBlueSky

Function TwitterIDToBlueSky

bridge/bridge.go:573–581  ·  view source on GitHub ↗

TwitterIDToBlueSky converts a numeric ID to a letter ID

(numericID *int64)

Source from the content-addressed store, hash-verified

571
572// TwitterIDToBlueSky converts a numeric ID to a letter ID
573func TwitterIDToBlueSky(numericID *int64) (*string, error) {
574 // Get the letter ID from the database
575 letterID, _, _, err := db_controller.GetTwitterIDFromDatabase(numericID)
576 if err != nil {
577 return nil, err
578 }
579
580 return letterID, nil
581}
582
583func BskyMsgToTwitterID(uri string, creationTime *time.Time, retweetUserId *string) *int64 {
584 if uri == "" {

Callers 15

UpdateStatusFunction · 0.92
GetUsersListsFunction · 0.92
list_timelineFunction · 0.92
GetListMembersFunction · 0.92
user_timelineFunction · 0.92
media_timelineFunction · 0.92
likes_timelineFunction · 0.92
user_infoFunction · 0.92
UsersLookupFunction · 0.92
UserRelationshipsFunction · 0.92
GetUsersRelationshipFunction · 0.92
FollowUserFunction · 0.92

Calls 1

GetTwitterIDFromDatabaseFunction · 0.92

Tested by

no test coverage detected