Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Facebook and Twitter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01587416
Message ID:
01587760
Vues:
142
>>Any way with VFP to post messages to Facebook and Twitter?
>>
>>For example I'd like to have an EditBox in a form and a button where the caption would be "Post Now"
>>
>>When the user clicks on the PostNow button Id like the text that was entered in the edit box to be posted to the predefined Facebook and Twitter account.
>>
>>You have sample code to do that?
>>
>>If not easy or possible with VFP what alternative would you suggest?
>
>I see there's a twitter restful API which allows sending of a tweet using statuses/update : https://dev.twitter.com/docs/api/1.1/post/statuses/update.
>
>I'm guessing the awkward part in VFP would be getting the oAuth token set up. May be simpler using a .NET COM component ? ( I see at least one library that may make that simpler : https://github.com/DWRoelands/TwitterVB/releases )


The OAuth stuff is already available via a Codeplex project. http://vfpoauth.codeplex.com/

The problem with the Twitter code is that it only supports v1 of their API and Twitter has deprecated it (so it no longer works).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform