Retrieve Numeric IDs


#1

Hello,

In our platform we wish to give users quick access to view their created campaigns on ads.twitter.com. The URL for ads.twitter is composed of numeric IDs, but the IDs returned when creating objects using the Twitter Ads API are always non-numeric strings.

Is there any way we can still send our users to your panel using these IDs?

Thanks,

Brian


#2

Hey Brian

Those are always the same values displayed in either base 10 or base 36, so conversion function should do the trick (tweet IDs can be 64-bit snowflake ID which is a different thing).

Thanks,

John


#3

Great! Thanks John!