[twitter-dev] Json parse error / escape problem

2010-10-29 Thread Morris Li
Hi

i have got an issue with my PHP version while developing the tweeter
application.
Our company setting at the moment is: php 5.1.2
the json_decode function is from 5.2+.
So when I try to tweet a message to twitter it throws 'Illegal escape
sequence 'u''.

Can anyone would like to help?
Below is the issue that I have got:


i.e. '<' is parsed as '\u003C' in the twitter return.
===

{"listed_count":
0,"profile_use_background_image":true,"profile_text_color":"33","description":null,"screen_name":"11oo10devtest3","statuses_count":
9,"status":
{"place":null,"coordinates":null,"in_reply_to_status_id":null,"in_reply_to_user_id":null,"truncated":false,"in_reply_to_status_id_str":null,"geo":null,"id_str":"29084262635","favorited":false,"source":"\u003Ca
href=\"http:\/\/www.puregym.co.uk\/TwitterAPI\" rel=\"nofollow
\"\u003Eauto test\u003C\/a
\u003E","in_reply_to_user_id_str":null,"contributors":null,"in_reply_to_screen_name":null,"created_at":"Fri
Oct 29 12:50:31 + 2010","retweet_count":null,"id":
29084262635,"retweeted":false,"text":"[56436] test message2010-10-29
01:50:30"},"show_all_inline_media":false,"profile_background_image_url":"http:
\/\/s.twimg.com\/a\/1288305442\/images\/themes\/theme1\/
bg.png","friends_count":
0,"profile_link_color":"0084B4","contributors_enabled":false,"id_str":"209514668","geo_enabled":false,"notifications":false,"profile_background_tile":false,"profile_sidebar_fill_color":"DDEEF6","followers_count":
2,"url":null,"lang":"en","verified":false,"created_at":"Fri Oct 29
10:19:07 +
2010","profile_sidebar_border_color":"C0DEED","location":null,"follow_request_sent":false,"protected":false,"time_zone":null,"favourites_count":
0,"name":"11oo10devtest3","following":false,"profile_background_color":"C0DEED","profile_image_url":"http:
\/\/s.twimg.com\/a\/1288305442\/images\/
default_profile_6_normal.png","id":209514668,"utc_offset":null} ||
account/verify_credentials
Illegal escape sequence 'u'

-- 
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


[twitter-dev] Auto tweet implementation

2010-09-15 Thread Morris Li
Hi,

My client requested a function to enable his club members to auto post
tweets to twitter when they join any event on the website. When any
member signs up for an event, we do something about updating the
database, and at that point, we also want to post a tweet to twitter.

Following the example I can work out how to post a message using PHP
after getting authorization. But what I can do now is slight different
from what I need to. i.e. we expect a member login once on our site
then he / she doesn't need to login again every time he / she signs an
event. Is it possible to achieve this by a PHP script?

Many thanks for all of you.
Morris Li

-- 
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?hl=en


[twitter-dev] Custom Follow Buttons?

2010-07-17 Thread David Li
Hi!

Does anyone know if there is a way to have custom made follow buttons
using the @Anywhere API? I've looked quite thoroughly through the
documentation and whilst there is an option to have custom connect
buttons, there is no mention of custom follow buttons.

Any help would be much appreciated,

David Li


[twitter-dev] Is there a twitter windows desktop client support oauth ?

2010-05-18 Thread Kevin Li
i can not find any client support oauth on windows XP……


[twitter-dev] I can not get twitter friends with TwitterN(Amplify.Twitter)

2009-12-02 Thread Dali Li
hi all

My applciation get twitter information with TwitterN, now the
GetFriends API get the same 100 friends every page, I don't know
what's happen? API changed or some happen?

please help me.


thanks
Dali


[twitter-dev] API call doesn't work anymore

2009-08-07 Thread Li

I am using http://twitter.com/statuses/update.json to update status
for twitter. It was working until yesterday's DOS attack.

API call return "1" now. It used to return status of api call such as
"success" or "failed"

None of the updates when through API since yesterday

Anyone get any ideas? Did Twitter change their API?

Thanks


[twitter-dev] Does twitter allow apps for getting followers by following each other?

2009-07-24 Thread Chaoming Li

I see a few apps doing this, some have been there for months.
Basically they allow users to login and click a button to follow other
users on the list, and then the other users might follows you back. I
am wondering is that allowed?