[twitter-dev] Problem in twitter profile image upload
Hi, I am developing twitter API integration application in which whenever I try to upload profile image it shows me error There was a problem with your picture. Probably too big. in respose. I tried with very small png image 46*42 of size 391bytes but still It shows me the same error. I am using Abraham's OAuth API library. Image upload code is given below : $profile_image_update = $connection-post('account/ update_profile_image',array( 'image' =$_FILES['image']['tmp_name'])); Am I missing any other parameter? Thanks! -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] users/lookup.json
hi! i am very new to twitter API. my question is: http://api.twitter.com/1/users/lookup.json?user_id=1401881,1401882 this is example url of twitter, it never works. and it returns { * request: /1/users/lookup.json?user_id=1401881,1401882 * error: Could not authenticate you. } could you tell me, how to get friends info, like name, thum,...etc thanx - naresh jonnala. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: users/lookup.json
thanx mabujo, i am trying to fetch data using curl, but i don't know, how to do... could you give an example please. is any non-oauth way is there, to fetch friends info? On Sun, Mar 6, 2011 at 12:20 AM, mabujo jaa...@gmail.com wrote: This method requires authentication, so you will need to sign the request with oauth tokens before it will work. On Mar 5, 4:04 am, Naresh naresh.jonn...@gmail.com wrote: hi! i am very new to twitter API. my question is: http://api.twitter.com/1/users/lookup.json?user_id=1401881,1401882 this is example url of twitter, it never works. and it returns { * request: /1/users/lookup.json?user_id=1401881,1401882 * error: Could not authenticate you. } could you tell me, how to get friends info, like name, thum,...etc thanx - naresh jonnala. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Regards, Naresh Jonnala -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk