PHP Function to retrieve X Post URLs

Job ID: 38804684

Budget: $10 – $30 USD

I'm in need of a PHP function that can retrieve the latest post URLs from a specified X account. The function should:

- Accept an X account handle and a variable $number as input.
- Return an array of the $number latest X post URLs from the given account handle.
- Return all available posts if the requested number exceeds the available posts.

The ideal freelancer for this project should have:
- Proficient knowledge of PHP.
- Experience with X API (formerly Twitter).

In your bid include a confirmation that you have access to the X API as you will need that for developing the function, or if you propose use a different way to obtain the post URLs, state the details.
Related categories: PHP Twitter API