Nieuws tweeten

Gestart doorRalphh11 reacties49 weergaven

12 berichten · pagina 1 van 1

Ralphh

Lid · Topicstarter

Berichten
5.952
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoi,

Ik zoek een script waarmee je nieuws kunt tweeten.
Zoals bijvoorbeeld bij nu.nl
Dat als er een nieuwsbericht is gepost dat je dan de titel van dat bericht kunt tweeten.
Beloning: 0.1 punt.

Mvg,
0
Berichten
14.025
Reputatie
1
Punten
0,01
Lid sinds
Laatst gezien
Automatisch?
0
Ralphh

Lid · Topicstarter

Berichten
5.952
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dylanh schreef:
Automatisch?
Ja.
0
Berichten
14.025
Reputatie
1
Punten
0,01
Lid sinds
Laatst gezien
Ik wil het wel proberen te maken.
Raalphh schreef:
Eerdere citaten tonen
Dylanh schreef:
Automatisch?
Ja.
0
Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Raalphh schreef:
Hoi,

Ik zoek een script waarmee je nieuws kunt tweeten.
Zoals bijvoorbeeld bij nu.nl
Dat als er een nieuwsbericht is gepost dat je dan de titel van dat bericht kunt tweeten.
Beloning: 0.1 punt.

Mvg,
RSS feed uitlezen -> Twitter bot
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Eenvouwdig en proffesioneel: met de Twitter API
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php
$connection[/COLOR] [COLOR= #007700]= new[/COLOR] TwitterOAuth[COLOR= #007700]([/COLOR][COLOR= #0000BB]$twitter[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]consumer_key[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$twitter[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]consumer_secret[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$twitter[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]oauth_token[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$twitter[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]oauth_token_secret[/COLOR][COLOR= #007700]]);[/COLOR]
[COLOR= #0000BB]$connection[/COLOR][COLOR= #007700]->[/COLOR]post[COLOR= #007700]([/COLOR][COLOR= #DD0000]statuses/update[/COLOR][COLOR= #007700],[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]status[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]title[/COLOR][COLOR= #007700]]));[/COLOR]
?>


Plus deze class: https://github.com/abraham/twitteroauth

Ik hoop dat je er uit komt, anders horen we het wel.
0
Ralphh

Lid · Topicstarter

Berichten
5.952
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb het inderdaad met de API gedaan.
Toch iedereen bedankt voor de snelle antwoorden.
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Via TwitteroAuth smile?
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Aarclay schreef:
[COLOR= #0000BB]<?php
$connection[/COLOR] [COLOR= #007700]= new[/COLOR] TwitterOAuth[COLOR= #007700]([/COLOR][COLOR= #0000BB]$twitter[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]consumer_key[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$twitter[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]consumer_secret[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$twitter[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]oauth_token[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$twitter[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]oauth_token_secret[/COLOR][COLOR= #007700]]);[/COLOR]
[COLOR= #0000BB]$connection[/COLOR][COLOR= #007700]->[/COLOR]post[COLOR= #007700]([/COLOR][COLOR= #DD0000]statuses/update[/COLOR][COLOR= #007700],[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]status[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]title[/COLOR][COLOR= #007700]]));[/COLOR]
?>
Plus deze class: https://github.com/abraham/twitteroauth

Ik hoop dat je er uit komt, anders horen we het wel.

Ik zou sowieso deze nemen.. Top class en ik gebruik hem altijd biggrin
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Blijkbaar wil hij zijn eigen nieuws tweeten, net zoals nu.nl dat doet? (Ik volg hen niet)
Oh ja, en zoals Treinenweb wink
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren