Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 534051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:34:18+00:00 2026-05-13T09:34:18+00:00

Im using class.twitter.php ( http://emmense.com/php-twitter/documentation/v11-methods-available/ ) Im using this code: $summize = new summize;

  • 0

Im using class.twitter.php (http://emmense.com/php-twitter/documentation/v11-methods-available/)

Im using this code:

$summize = new summize;
$search = $summize->search('#test');

echo "<pre>";
print_r($search);
echo "</pre>";

And the output is:

stdClass Object
(
    [results] => Array
        (
            [0] => stdClass Object
                (
                    [profile_image_url] => http://a1.twimg.com/profile_images/327884498/Tobias_Zielke_ums_logo_normal.jpg
                    [created_at] => Sun, 03 Jan 2010 10:47:14 +0000
                    [from_user] => tobiaszielke
                    [to_user_id] => 
                    [text] => Ich hoffe unser See ist nicht zugefroren #Trocki #Waterproof #Test
                    [id] => 7329402210
                    [from_user_id] => 27862585
                    [geo] => 
                    [iso_language_code] => de
                    [source] => <a href="http://ubertwitter.com" rel="nofollow">UberTwitter</a>
                )

....

How can I take the [from_user], [text], and write it to a file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:34:18+00:00Added an answer on May 13, 2026 at 9:34 am
    $text = $search['results'][0]['from_user'] . ': ' . $search['results'][0]['text'];
    file_put_contents('file.txt', $text);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using this PHP class for a Twitter script: twitter.slawcup.com/twitter.class.phps The script is: $t=
Consider this: require 'Twitter.class.php'; $tweet = new Twitter(username, password); foreach($comment as $key => $value)
Language: PHP / Using Class Upload by Colin Verot About: Multiple Uploading The code
This is the PHP code im using in conjunction with jQuery .ajax to create
I only have the twitter url of person like http://twitter.com/#!/tomcruise I am using an
In my CSS, I'm using 2 class selectors (Twitter bootstrap w/ 30 columns): .row-fluid
i load a class using Class.forName(klassname,false,loader) After this i create an instance using klass.newInstance();
I am using TimeStamp class to convert seconds into Day,Hours,Minutes,Seconds. I used following code
I'am currently parsing in a twitter tweets by geocode and displaying them using php.
I'am currently parsing in a twitter tweets by geocode and displaying them using php.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.