bitemyapp / bitemyapp/twitcurl
Favorites URLs are incorrect now
- Dominant language
- C
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
Hi there;
i try to use favoriteCreate function and i find it not working and it give this
message:"{"errors":[{"message":"Sorry, that page does not exist","code":34}]}"
i check twitcurlurls.h file to find what the problem and i find that Favorites
URLs are written incorrect way
const std::string TWITCURL_FAVORITECREATE_URL = TWITCURL_BASE_URL +
"favorites/create/";
like Status URLs:
const std::string TWITCURL_RETWEET_URL = TWITCURL_BASE_URL +
"statuses/retweet/";
but twitter change the syntax to like this:
https://api.twitter.com/1.1/favorites/create.json?id=243138128959913986
rather than:
https://api.twitter.com/1.1/favorites/create/241259202004267009.json
i am using last version from Github with Ubuntu server 15.04
thanks.
```
Original issue reported on code.google.com by `NoCa...@gmail.com` on 8 Jun 2015 at 10:29
Contributor guide
No contributing guide indexed for this repository
Research direction
Open twitcurlurls.h and inspect TWITCURL_FAVORITECREATE_URL alongside the status URL constants. Update the favorite-create request to match the Twitter API URL form shown in the report, then exercise favoriteCreate and verify it no longer returns the page-does-not-exist response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100