Closed ghost closed 12 years ago
@hxf148 delete requests were not working correctly. Try an unfollow again w/ latest code and let me know what happens, it should work now. I need some help re-writing the 'httpDelete' function to use the curl extension if anyone could help out
it's not returning json because i'm using exec('curl ...') instead of the curl extension. this could be a problem for users if exec() is disabled in php.ini
Ok thank you very much, will be trying this right away and will let you know. I have a small request as well, I keep hacking this in... can you set it up so you can pass counts to the functions? eg. publicPosts() becomes publicPosts(40) .... and adds the query var Count in the query string of the URL called.... ?count=40
Cheers!
It does not thow an error but I can not say for sure that the user is getting unfollowed... more testing.
Ok follow/unfollow is working. The issue that was tripping me up was that the functions for getting the users personal stream are using the global endpoint links. I swapped in the correct link and it works.. maybe I'll figure out github later so I can check these things in for you.
cool. I will be mostly unavailable for the next 2 days and wont be able to help much. If you have working code for these issues, I'd appreciate it if you could fork the repo and submit a pull request, and I'll merge your changes
@ravisorg has fixed the delete function, and I took care of the global vs. personal stream. @hxf148 I will open a new issue for the count problem and try to solve this soon. could you provide the code you're currently using?
Thanks!
Josh
Follow seems to be working but unfollowUser is throwing 404 errors most of the time.. but sometimes I think it gets though. The url and user id(s) look ok.