Changeset 458847
- Timestamp:
- 11/03/2011 01:07:00 AM (14 years ago)
- Location:
- qqpress/trunk
- Files:
-
- 2 edited
-
opent.php (modified) (1 diff)
-
qqpress.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
qqpress/trunk/opent.php
r371888 r458847 104 104 function get($url, $parameters) { 105 105 $response = $this->oAuthRequest($url, 'GET', $parameters); 106 echo "opent.php 137<br/>";107 print_r($response);108 106 if (MB_RETURN_FORMAT === 'json') { 109 107 return $this->jsonDecode($response, true); -
qqpress/trunk/qqpress.php
r458650 r458847 180 180 181 181 //如果日志中有提到微博中用户,则发通知 182 preg_match_all("/@([A-Za-z]{1}[\w|- ]*)[\s|,|。|?|,|.|?]/", $post->post_content, $matches);182 preg_match_all("/@([A-Za-z]{1}[\w|-|_]*)[\s+|,|。|?|,|.|?]/", $post->post_content, $matches); 183 183 if (2 == count($matches) && 0 < count($matches[1])) { 184 184 $oauth_token = get_option("qq_oauth_token");
Note: See TracChangeset
for help on using the changeset viewer.