What I have done with Facebook,  Twiter and Meetup  API /Widgets Presented by Pete DuMelle PD Design, Inc Brought to you by  Fox Valley Computing Professionals HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals
HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals Page Widget  Twitter Application Pull your Twitter to your Web site Name Tag generator Event look up
HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals Page Widget
Fan Page Widget What is a Facebook page?  Make a page Use the widget generator  Cut and past the code to your page HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals
Make a Page  Log on to Facebook Click on Advertising Click on  Page HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals
Use the Widget Log on to Facebook  Page Click on Add Fan Box to your site HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals
Use the Widget HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals
Use the Widget HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals http://tenpathwaysofhealinglove.com/contactus.php
HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals API http://apiwiki.twitter.com/Twitter-API-Documentation *150 api calls per hour
HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals Twitter Application
Application  What one place to see and post to multiple twitter accounts   http://twitterapps.pddesigninc.com/ Login and get the friend feeds  PHP $twitter_username = 'YOUR_USERNAME_HERE';  $twitter_password = 'YOUR_PASSWORD_HERE'; $XMLfilename = "http://$twitter_username:$twitter_password@twitter.com/statuses/friends_timeline.rss"; Login and Update your StatusPHP $twitter_username = 'YOUR_USERNAME_HERE';  $twitter_password = 'YOUR_PASSWORD_HERE'; $twitter_whatiamdoing = 'YOUR UPDATE HERE'; httpRequest('twitter.com', '/statuses/update.xml?status='.$twitter_whatiamdoing , 'POST'); HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals
HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals Add custom Twitter Feed to your site
feeds Custom Example http://www.pddesigninc.com/ http://www.feedforall.com/download-feedforall.htm  http://pddesigninc.com/handouts/twitterfeed.zip Line 29 rss2htmltwitter.php   $XMLfilename = &quot;http://twitter.com/statuses/user_timeline/16738311.rss&quot;; Edit  Twitter-template.html Add include to your site <!--#include file=&quot;rss2htmltwitter.php&quot; --> HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals
HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals Add Twitter widget to your site
Widget Log on to twitter Click on Goodies Click on  Widgets Click on My Website Click  Profile Widget Edit the wizard  Finish & Grab Code Cut and past code to your site HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals Example  http://energyrealitytheory.com/readings.php
HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals API http://www.meetup.com/meetup_api/ *Need api Key
HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals RSVP Name look up and Event look up
Event Lookup <?PHP $GroupID= “enter in Group ID”; $apikey = “add your api did&quot;; // this is the  meetup api  Event_id is the event that that you want  return the Key is my api key  this is call  the rsvp that  returns all  of the info for the people that rsvp yes or maybe $request_url =  &quot;http://api.meetup.com/events.xml/?group_urlname=&quot;.$GroupID.&quot;&key=&quot;.$apikey ; // standard Curl  $ch = curl_init(); $timeout = 5; curl_setopt($ch, CURLOPT_URL, $request_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout); $data = curl_exec($ch); curl_close($ch); // puts the data in to $xml varable for seperation $xml = new SimpleXMLElement($data); ?> HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals Example  http://meetup-api.pddesigninc.com/
RSVP Lookup <?PHP $EventID= “event ID” $apikey = “add your api did&quot;; // this is the  meetup api  Event_id is the event that that you want  return the Key is my api key  this is callin  the rsvp that  returns all  of the info for the peopel that rsvped yes or maybe $request_url = &quot;http://api.meetup.com/rsvps.xml/?event_id=&quot;.$EventID.&quot;&key=&quot;.$apikey; // standard Curl  $ch = curl_init(); $timeout = 5; curl_setopt($ch, CURLOPT_URL, $request_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout); $data = curl_exec($ch); curl_close($ch); // puts the data in to $xml varable for seperation $xml = new SimpleXMLElement($data); ?> HTTP://PDDESIGNINC.COM Fox Valley  Computing Professionals Example  http://meetup-api.pddesigninc.com/
Pete DuMelle PD Design Inc 847-768-8495 [email_address] Presentation http://www.pddesigninc.com/BusinessBuilding.shtml Articles http://ezinearticles.com/?expert=Peter_DuMelle Thank You Fox Valley Computing Professionals

August 10th, 2009 Pete De Mulle Twitter

  • 1.
    What I havedone with Facebook, Twiter and Meetup API /Widgets Presented by Pete DuMelle PD Design, Inc Brought to you by Fox Valley Computing Professionals HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals
  • 2.
    HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals Page Widget Twitter Application Pull your Twitter to your Web site Name Tag generator Event look up
  • 3.
    HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals Page Widget
  • 4.
    Fan Page WidgetWhat is a Facebook page? Make a page Use the widget generator Cut and past the code to your page HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals
  • 5.
    Make a Page Log on to Facebook Click on Advertising Click on Page HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals
  • 6.
    Use the WidgetLog on to Facebook Page Click on Add Fan Box to your site HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals
  • 7.
    Use the WidgetHTTP://PDDESIGNINC.COM Fox Valley Computing Professionals
  • 8.
    Use the WidgetHTTP://PDDESIGNINC.COM Fox Valley Computing Professionals http://tenpathwaysofhealinglove.com/contactus.php
  • 9.
    HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals API http://apiwiki.twitter.com/Twitter-API-Documentation *150 api calls per hour
  • 10.
    HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals Twitter Application
  • 11.
    Application Whatone place to see and post to multiple twitter accounts http://twitterapps.pddesigninc.com/ Login and get the friend feeds PHP $twitter_username = 'YOUR_USERNAME_HERE'; $twitter_password = 'YOUR_PASSWORD_HERE'; $XMLfilename = &quot;http://$twitter_username:$twitter_password@twitter.com/statuses/friends_timeline.rss&quot;; Login and Update your StatusPHP $twitter_username = 'YOUR_USERNAME_HERE'; $twitter_password = 'YOUR_PASSWORD_HERE'; $twitter_whatiamdoing = 'YOUR UPDATE HERE'; httpRequest('twitter.com', '/statuses/update.xml?status='.$twitter_whatiamdoing , 'POST'); HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals
  • 12.
    HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals Add custom Twitter Feed to your site
  • 13.
    feeds Custom Examplehttp://www.pddesigninc.com/ http://www.feedforall.com/download-feedforall.htm http://pddesigninc.com/handouts/twitterfeed.zip Line 29 rss2htmltwitter.php $XMLfilename = &quot;http://twitter.com/statuses/user_timeline/16738311.rss&quot;; Edit Twitter-template.html Add include to your site <!--#include file=&quot;rss2htmltwitter.php&quot; --> HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals
  • 14.
    HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals Add Twitter widget to your site
  • 15.
    Widget Log onto twitter Click on Goodies Click on Widgets Click on My Website Click Profile Widget Edit the wizard Finish & Grab Code Cut and past code to your site HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals Example http://energyrealitytheory.com/readings.php
  • 16.
    HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals API http://www.meetup.com/meetup_api/ *Need api Key
  • 17.
    HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals RSVP Name look up and Event look up
  • 18.
    Event Lookup <?PHP$GroupID= “enter in Group ID”; $apikey = “add your api did&quot;; // this is the meetup api Event_id is the event that that you want return the Key is my api key this is call the rsvp that returns all of the info for the people that rsvp yes or maybe $request_url = &quot;http://api.meetup.com/events.xml/?group_urlname=&quot;.$GroupID.&quot;&key=&quot;.$apikey ; // standard Curl $ch = curl_init(); $timeout = 5; curl_setopt($ch, CURLOPT_URL, $request_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout); $data = curl_exec($ch); curl_close($ch); // puts the data in to $xml varable for seperation $xml = new SimpleXMLElement($data); ?> HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals Example http://meetup-api.pddesigninc.com/
  • 19.
    RSVP Lookup <?PHP$EventID= “event ID” $apikey = “add your api did&quot;; // this is the meetup api Event_id is the event that that you want return the Key is my api key this is callin the rsvp that returns all of the info for the peopel that rsvped yes or maybe $request_url = &quot;http://api.meetup.com/rsvps.xml/?event_id=&quot;.$EventID.&quot;&key=&quot;.$apikey; // standard Curl $ch = curl_init(); $timeout = 5; curl_setopt($ch, CURLOPT_URL, $request_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout); $data = curl_exec($ch); curl_close($ch); // puts the data in to $xml varable for seperation $xml = new SimpleXMLElement($data); ?> HTTP://PDDESIGNINC.COM Fox Valley Computing Professionals Example http://meetup-api.pddesigninc.com/
  • 20.
    Pete DuMelle PDDesign Inc 847-768-8495 [email_address] Presentation http://www.pddesigninc.com/BusinessBuilding.shtml Articles http://ezinearticles.com/?expert=Peter_DuMelle Thank You Fox Valley Computing Professionals