Paul "Pablo" Croubalian en Social Marketing Solutions, Social Media Ghost, the writing kind, not the kind that's into pottery wheels. beBee Ambassador • Paul Croubalian 1/12/2016 · 2 min de lectura · +800

This is not really a post. It's a measure of OMG-WTF-iness

This is not really a post. It's a measure of OMG-WTF-iness


Okay, so I'm taking a break from writing a white paper and I decided to look into a feature for the Web-App-With-No-Name(yet). 

We want to be able to store possible followers based on whether they mentioned us, retweeted us, we mentioned them or we retweeted them. 

It would also be nice to look at people that a user-selected group of major players mentioned or retweeted.

While we're at it, we may as well look at people who mention or retweet those major players.

Why stop there? 

I have my nose in a major player's timeline. I may as well grab a tweet or three to use in cooperative retweeting.

Sound like a plan? I think so too.


I looked at John White's timeline to see what was what.

O  M  G!!!

This is what I get for just one tweet. . . the stuff in bold is what I need. 

It's okay if your eyes roll back into your head. That's where mine are now.

Now think about processing this for thousands of tweets for hundreds of people. Ouch.

Now think about doing quickly and cheaply. Double Ouch.

We'll get there.


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[0] => Array

(

[created_at] => Wed Nov 30 23:12:46 +0000 2016

[id] => 804100890743492608 (needed for subsequent searches)

[id_str] => 804100890743492608

[text] => RT @JavierBeBee: On #beBee you can hang out with people that are relevant to your personal & business interests. @javierbeBee https://t.co/

[truncated] =>

[entities] => Array

(

[hashtags] => Array

(

[0] => Array

(

[text] => beBee

[indices] => Array

(

[0] => 20

[1] => 26

)

)

)

[symbols] => Array

(

)

[user_mentions] => Array

(

[0] => Array

(

[screen_name] => JavierBeBee

[name] => Javier beBee

[id] => 4204528228

[id_str] => 4204528228

[indices] => Array

(

[0] => 3

[1] => 15

)

)

[1] => Array

(

[screen_name] => JavierBeBee

[name] => Javier beBee

[id] => 4204528228

[id_str] => 4204528228

[indices] => Array

(

[0] => 117

[1] => 129

)

)

)

[urls] => Array

(

)

)

[source] => Twitter for Android YAY, android rocks, good stuff, John!

[in_reply_to_status_id] =>

[in_reply_to_status_id_str] =>

[in_reply_to_user_id] =>

[in_reply_to_user_id_str] =>

[in_reply_to_screen_name] =>

[user] => Array

(

[id] => 217506104

[id_str] => 217506104

[name] => John White

[screen_name] => juanblanco76

[location] => Fort Collins, CO

[description] => CMO at Social Marketing Solutions. Brand Ambassador at beBee. Columnist @Inc @HuffingtonPost. About Me: #Dad #SocialMedia #Tennis #Marketer #MBA #MexicanFood

[url] => https://t.co/UQYfKYRY2k

[entities] => Array

(

[url] => Array

(

[urls] => Array

(

[0] => Array

(

[url] => https://t.co/UQYfKYRY2k

[expanded_url] => http://www.socialmarketingsolutionsllc.net

[display_url] => socialmarketingsolutionsllc.net

[indices] => Array

(

[0] => 0

[1] => 23

)

)

)

)

[description] => Array

(

[urls] => Array

(

)

)

)

[protected] =>

[followers_count] => 60958

[friends_count] => 43593

[listed_count] => 3081

[created_at] => Fri Nov 19 18:24:05 +0000 2010

[favourites_count] => 16799

[utc_offset] => -25200

[time_zone] => Mountain Time (US & Canada)

[geo_enabled] => 1

[verified] => 1

[statuses_count] => 46805

[lang] => en

[contributors_enabled] =>

[is_translator] =>

[is_translation_enabled] =>

[profile_background_color] => C0DEED

[profile_background_image_url] => http://abs.twimg.com/images/themes/theme1/bg.png

[profile_background_image_url_https] => https://abs.twimg.com/images/themes/theme1/bg.png

[profile_background_tile] =>

[profile_image_url] => http://pbs.twimg.com/profile_images/743549460962287616/DUeaU-kY_normal.jpg

[profile_image_url_https] => https://pbs.twimg.com/profile_images/743549460962287616/DUeaU-kY_normal.jpg

[profile_banner_url] => https://pbs.twimg.com/profile_banners/217506104/1469500477

[profile_link_color] => 0EB4EB

[profile_sidebar_border_color] => C0DEED

[profile_sidebar_fill_color] => DDEEF6

[profile_text_color] => 333333

[profile_use_background_image] => 1

[has_extended_profile] => 1

[default_profile] =>

[default_profile_image] =>

[following] => 1 (yes, I follow John)

[follow_request_sent] =>

[notifications] =>

[translator_type] => none

)

[geo] =>

[coordinates] =>

[place] =>

[contributors] =>

[retweeted_status] => Array

(

[created_at] => Wed Nov 30 18:00:57 +0000 2016

[id] => 804022420604649472

[id_str] => 804022420604649472

[text] => On #beBee you can hang out with people that are relevant to your personal & business interests. @javierbeBee https://t.co/VMgvRZoKgu

[truncated] =>

[entities] => Array

(

[hashtags] => Array

(

[0] => Array

(

[text] => beBee

[indices] => Array

(

[0] => 3

[1] => 9

)

)

)

[symbols] => Array

(

)

[user_mentions] => Array

(

[0] => Array

(

[screen_name] => JavierBeBee

[name] => Javier beBee

[id] => 4204528228

[id_str] => 4204528228

[indices] => Array

(

[0] => 100

[1] => 112

)

)

)

[urls] => Array

(

)

[media] => Array

(

[0] => Array

(

[id] => 804022418041872384

[id_str] => 804022418041872384

[indices] => Array

(

[0] => 113

[1] => 136

)

[media_url] => http://pbs.twimg.com/media/Cyh2IRrWIAAc2xN.jpg

[media_url_https] => https://pbs.twimg.com/media/Cyh2IRrWIAAc2xN.jpg

[url] => https://t.co/VMgvRZoKgu

[display_url] => pic.twitter.com/VMgvRZoKgu

[expanded_url] => https://twitter.com/JavierBeBee/status/804022420604649472/photo/1

[type] => photo

[sizes] => Array

(

[large] => Array

(

[w] => 740

[h] => 413

[resize] => fit

)

[medium] => Array

(

[w] => 740

[h] => 413

[resize] => fit

)

[thumb] => Array

(

[w] => 150

[h] => 150

[resize] => crop

)

[small] => Array

(

[w] => 680

[h] => 380

[resize] => fit

)

)

)

)

)

[extended_entities] => Array

(

[media] => Array

(

[0] => Array

(

[id] => 804022418041872384

[id_str] => 804022418041872384

[indices] => Array

(

[0] => 113

[1] => 136

)

[media_url] => http://pbs.twimg.com/media/Cyh2IRrWIAAc2xN.jpg

[media_url_https] => https://pbs.twimg.com/media/Cyh2IRrWIAAc2xN.jpg

[url] => https://t.co/VMgvRZoKgu

[display_url] => pic.twitter.com/VMgvRZoKgu

[expanded_url] => https://twitter.com/JavierBeBee/status/804022420604649472/photo/1

[type] => photo

[sizes] => Array

(

[large] => Array

(

[w] => 740

[h] => 413

[resize] => fit

)

[medium] => Array

(

[w] => 740

[h] => 413

[resize] => fit

)

[thumb] => Array

(

[w] => 150

[h] => 150

[resize] => crop

)

[small] => Array

(

[w] => 680

[h] => 380

[resize] => fit

)

)

)

)

)

[source] => Tweet Jukebox (tut, tut a competitor LOL)

[in_reply_to_status_id] =>

[in_reply_to_status_id_str] =>

[in_reply_to_user_id] =>

[in_reply_to_user_id_str] =>

[in_reply_to_screen_name] =>

[user] => Array

(

[id] => 4204528228

[id_str] => 4204528228

[name] => Javier beBee

[screen_name] => JavierBeBee

[location] =>

[description] => Co-founder and CEO at beBee. The best social network for sharing and creating content. Be Professional Be Personal Be Successful.

https://t.co/GitCliwQCM #beBee

[url] => https://t.co/dRItSbk4V1

[entities] => Array

(

[url] => Array

(

[urls] => Array

(

[0] => Array

(

[url] => https://t.co/dRItSbk4V1

[expanded_url] => http://www.bebee.com/@javierbebee

[display_url] => bebee.com/@javierbebee

[indices] => Array

(

[0] => 0

[1] => 23

)

)

)

)

[description] => Array

(

[urls] => Array

(

[0] => Array

(

[url] => https://t.co/GitCliwQCM

[expanded_url] => http://beBee.com

[display_url] => beBee.com

[indices] => Array

(

[0] => 131

[1] => 154

)

)

)

)

)

[protected] =>

[followers_count] => 11689

[friends_count] => 8261

[listed_count] => 1176

[created_at] => Mon Nov 16 20:30:57 +0000 2015

[favourites_count] => 11312

[utc_offset] => -28800 (hmmm, I should have used this method for handling time zones. UTC is GMT that doesn't do daylight savings.This number is the number of seconds behind GMT, or 8 hours. Javi is running on California time)

[time_zone] => Pacific Time (US & Canada) There you go

[geo_enabled] =>

[verified] =>

[statuses_count] => 15842  

[lang] => es

[contributors_enabled] =>

[is_translator] =>

[is_translation_enabled] =>

[profile_background_color] => C0DEED

[profile_background_image_url] => http://abs.twimg.com/images/themes/theme1/bg.png

[profile_background_image_url_https] => https://abs.twimg.com/images/themes/theme1/bg.png

[profile_background_tile] =>

[profile_image_url] => http://pbs.twimg.com/profile_images/736988948547948544/ZZAa9_hz_normal.jpg

[profile_image_url_https] => https://pbs.twimg.com/profile_images/736988948547948544/ZZAa9_hz_normal.jpg

[profile_banner_url] => https://pbs.twimg.com/profile_banners/4204528228/1464546831

[profile_link_color] => 1DA1F2

[profile_sidebar_border_color] => C0DEED

[profile_sidebar_fill_color] => DDEEF6

[profile_text_color] => 333333

[profile_use_background_image] => 1

[has_extended_profile] => 1

[default_profile] => 1

[default_profile_image] =>

[following] => 1 (Yup, I follow Javier too)

[follow_request_sent] =>

[notifications] =>

[translator_type] => none

)

[geo] =>

[coordinates] =>

[place] =>

[contributors] =>

[is_quote_status] =>

[retweet_count] => 3 I don't know if I need this. The real number can move quickly and this is just a snapshot. Yeah, I think we'll ignore it.

[favorite_count] => 3 Ditto

[favorited] =>

[retweeted] =>

[possibly_sensitive] =>

[lang] => en

)

[is_quote_status] =>

[retweet_count] => 3

[favorite_count] => 0

[favorited] =>

[retweeted] =>

[lang] => en

)



#18 Resistance is futile. You WILL be assimilated. Maybe we should call the app "TweetBorg"?

+1 +1
Pamela L. Williams Hace 6 d · #18

Okay, so I'm just amazed you can read this and make sense of it! I could tell it wasn't code because I have done coding at times and can read (make sense) of it but not write it. You really need to get that brain of your under control Paul or we're going to end up with a monster app that will take over the world and have us all working for it instead of it for us. !

+1 +1
Paul "Pablo" Croubalian Dec 2, 2016 · #17

#15 Thanks, Goran. I'm there often.

There's a very different use-case to what we're doing here. When I created the Beast, I wanted ALL of a timeline. It was a simple matter of sifting back and forth until there was nothing left to pick up. Now, for example, I don't really care if someone retweeted John two years ago but never since. It isn't a big deal now that I see how Twitter serves up a timeline.

0
Goran Svensson Dec 2, 2016 · #15

Here you have some great resources if you haven't already checked them out: https://twitterdev.github.io/

+2 +2
Paul "Pablo" Croubalian Dec 1, 2016 · #14

#10 oh, FYI, Lisa, this isn't code, it's just a JSON object of the data returned by Twitter's API for one frigging tweet. This is the stuff the code needs to read, pull out what it needs, then act on it.

I figured out what we need to do, now I need to figure out an easy way to limit the first pass. I ran a quick test using John's account and pulled out 27000+ tweets. John tweeted 47,000 times since Nov of 2010, so it's going much too far back.

More tests are in order

+1 +1
Paul "Pablo" Croubalian Dec 1, 2016 · #13

#12 pretty soon, the app will do that for you, except for the grabbing of beBee posts.

0
Lisa Gallagher Dec 1, 2016 · #12

Oh one thing I do aside from the app- I do creep on @John White, MBA, @Matt Sweetwood @Javier beBee @Mamen Delgado @Jan Barbosa's pages (and a few others) to see what I may have missed and RT from their pages or grab an article I missed on beBee to add to the APP.

+3 +3
Lisa Gallagher Dec 1, 2016 · #11

#2 Paul's title cracked me up Deb!! Then my head began to spin when I saw all the code. Not sure how coders do this all day. Whoa. Kudos!

+2 +2