Re: [twitter-dev] Tweet Button Encoded URL but PHP entry array permalink

2010-08-17 Thread Felix Kunsmann

Am 18.08.2010 um 02:11 schrieb Tv_Miller:

 It clearly says on the developer page for the button that you need to
 encode the URL but my php requests the url from a permalink entry
 array. Is there a work around I'm not familiar with? Slightly novice
 here and thanks!

http://de3.php.net/manual/en/function.rawurlencode.php

Simply use it when echo'ing your Buttons Code

Gruß,
Felix Kunsmann - fe...@kunsmann.eu

-- 
Blog: http://felix-kunsmann.de/
Galerie: http://galerie.kunsmann.eu/



Re: [twitter-dev] If 30 June oAuth Ends ...

2010-06-14 Thread Felix Kunsmann

Am 14.06.2010 um 13:58 schrieb ehm mhe:

 If 30 June oAuth Ends will be after 30 June works this php script?
 
 http://morethanseven.net/2007/01/20/posting-to-twitter-using-php.html

This Script is using Basic Auth, so it will not work after June 30.

Gruß,
Felix Kunsmann - fe...@kunsmann.eu

-- 
Blog: http://felix-kunsmann.de/
Galerie: http://galerie.kunsmann.eu/



Re: [twitter-dev] link wrapping on the API

2010-06-09 Thread Felix Kunsmann

Am 09.06.2010 um 00:57 schrieb Raffi Krikorian:

 if you do choose to prefetch all the URLs on a timeline, then, when a user 
 actually clicks on one of the links, please still send him or her through 
 t.co. We will be updating the TOS to require you to check t.co and register 
 the click.

Hello,

I'm displaying my own tweets on my own Website. Am I allowed to remove t.co 
links and send the user directly to the URL I entered?
How will twitter detect if i really use t.co, since there is no Application to 
download and no public source?

When - exactly - will t.co go live for ALL links posted on Twitter?

Gruß,
Felix Kunsmann - fe...@kunsmann.eu

-- 
Blog: http://felix-kunsmann.de/
Galerie: http://galerie.kunsmann.eu/



Re: [twitter-dev] @anywhere in Safari4/Mac - wont work

2010-05-23 Thread Felix Kunsmann

Am 13.05.2010 um 07:51 schrieb Dan Webb:
 It looks to me like your hovercards are not finding a screen name
 rather than it being a browser issue.  The Unsafe javascript attempt
 is a warning and does not effect operation.

Sorry for late answer, but i think i found the error reason now:

anywhere.js loads https://api.twitter.com/xd_receiver.html, which gives the 
following JavaScript Code:

script type=text/javascript 
var url = http://localhost:/dist/server/xd_receiver.js;;

if (document.location.host == 'api.twitter.com') {
url = 
https://twitter-any.s3.amazonaws.com/server/production/xd_receiver.js;;
}

if (document.location.host.match(/^api-staging/)) {
url = 
https://twitter-any.s3.amazonaws.com/server/staging/xd_receiver.js;;
}

document.write('script src=' + url + '\/script');
/script

I don't think that http://localhost:/ will work, since there is no HTTPd 
running on that port.

Gruß,
Felix Kunsmann - fe...@kunsmann.eu

-- 
Blog: http://felix-kunsmann.de/
Galerie: http://galerie.kunsmann.eu/



Re: [twitter-dev] Fetching @mentions not longer working

2010-05-20 Thread Felix Kunsmann

Am 21.05.2010 um 00:34.43 schrieb Guillermo:
 $feeds = $twitter-OAuthRequest(http://api.twitter.com/1/statuses/
 mention.json, 'GET', array(count=25));

Please note its 'mentions', not 'mention' :)

http://dev.twitter.com/doc/get/statuses/mentions

Gruß,
Felix Kunsmann - fe...@kunsmann.eu

-- 
Blog: http://felix-kunsmann.de/
Galerie: http://galerie.kunsmann.eu/



[twitter-dev] @anywhere in Safari4/Mac - wont work

2010-05-12 Thread Felix Kunsmann
Hello,

I'm trying to use @anywhere hovercards in my Blog (Link below). It seems that 
Safari is blocking all requests to Twitter, so is there a way to fix that (or 
to duplicate hovercard functionality)?

Error Log:
jquery.min.js:130:XHR finished loading: 
https://api.twitter.com/1/account/verify_credentials.json;.
jquery.min.js:130:XHR finished loading: 
https://api.twitter.com/javascripts/i18n/de.js;.
xd_receiver.js:2142:  TypeError: Result of expression 'screenNameOrId' [null] 
is not an object.
  Unsafe JavaScript attempt to access frame with URL 
about:blank from frame with URL https://api.twitter.com/xd_receiver.html. 
Domains, protocols and ports must match.

Gruß,
Felix Kunsmann - fe...@kunsmann.eu

-- 
Blog: http://felix-kunsmann.de/
Galerie: http://galerie.kunsmann.eu/