forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Updating Twiiter or Facebook with VDS?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Tue Jan 31, 2012 10:15 pm    Post subject: Updating Twiiter or Facebook with VDS? Reply with quote

Hello,

Just wondering if anyone managed to use VDS with Twitter or Facebook ?

Like for posting messages/status for example?

Thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Wed Feb 01, 2012 2:24 pm    Post subject: Reply with quote

Hi Marty

I started a project a while ago, trying to find it here somewere...

Basically, i have a php file on my server, that VDS posted data to and the php file then udpated my facebook page...

If i find it i'll let you know

Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Wed Feb 01, 2012 10:15 pm    Post subject: Reply with quote

Woa. That would be nice. Maybe its possible to compile the php into an exe and then a VDS exe could call it with some parameters.

Anyway, will wait Smile

Thanks Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1548

PostPosted: Wed Feb 01, 2012 11:06 pm    Post subject: Reply with quote

You would need to include the php extension and a webserver like apache to do that. Pretty much pointless; you need to be online to post to facebook anyway so no point including php and apache when you can just run a real webserver online.

Have a server online with the php script is the best possible way to do that. You get the added benefit of being able to update the code on your server anytime without having to give end-users updated client exe's when you need to make updates to the facebook functionality.
Back to top
View user's profile Send private message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Thu Feb 02, 2012 2:00 am    Post subject: Reply with quote

You are right.

The only thing is when the username and password are passed to the url, it will be clear.

But wait, maybe I could use vdsipp..hummm.. now getting my ideas to start going. Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1548

PostPosted: Thu Feb 02, 2012 4:05 am    Post subject: Reply with quote

I believe facebook uses oauth, you cant pass a login like that; it will display a dialog to you where the person logs in, you get a token and then can update with a new post. Typically you use a browser window in your application to get the oauth token (a string of characters) that you pass back using a url. Check the facebook sdk to learn more - http://developers.facebook.com/docs/authentication/


You will want to use the CLIENT side oauth protocal. Also the first url needs to be done in a browser (you can use embedded ie control); it prompts the user from facebooks login page, that returns a token that you can use from that point on to post to the users page, etc. You can refresh the token later on incase it expires.

Asking a user for their username/password is strongly discouraged for most online applications now because of security/privacy risks.
Back to top
View user's profile Send private message
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 700
Location: Evansville, IN

PostPosted: Fri Feb 03, 2012 8:44 pm    Post subject: Reply with quote

Im a little confused about your Gui concept for this project, couldn't you just go embedded ie all the way for this?
Back to top
View user's profile Send private message AIM Address
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Sat Feb 04, 2012 11:05 am    Post subject: Reply with quote

Well I wanted an edit box on the UI of my application that could allow to let the user simple change their Facebook status. That way they could stay within the application instead of opening there browser.

There is many ways that it can be done I think.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
webdaddy
Contributor
Contributor


Joined: 14 Nov 2004
Posts: 151
Location: Raleigh NC

PostPosted: Wed Apr 17, 2013 3:36 am    Post subject: Updating Twitter Reply with quote

I did it with twittermail. They allow one account free I think. It's basically an email address then I used vdsipp to send that address an email and used the subject line as the twitter update I wanted to send. Works well. Now if I could just figure out vdsipp mail attachments I would be in business. What it says to do in the help file doesn't work unfortunately.

Kevin

_________________
K Wetzel
Programming - Technology - Communications
"The Home of the SLC Security Console"
SLC now available for Linux...
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group