How to program a tweet tracker in python? - iphone

i want to build a tweet tracker that constantly (24/7) moniters Elon musk account. If he sends a tweet which contains keywords like crypto,btc , moon , doge , floki. Eth etc ( all crypto lingos) , immediately the program alarms me,maybe by sending me sms / phonecall etc. And I am able to build long positions on binance timely.
What resources i should look for?
I have no idea how i will make this from scratch.


Can Google Workspace Alert Center be used with Email Log Search?

Is there a way to create an Alert Center notification based on criteria returned in the Google Workspace Email Log Search?
For example..
If an email address sends a message to 1000+ recipients or sends 1000 messages to 1000 recipients...
We already see the System Defined alert center actions if say... someone flags a message as phishing, but we want to create a triggered alert rule based on the count of messages.
Thanks in advance.
This can be done using the Investigation tool found at ‘Security’ > ‘Investigation Tool’ Be advised this is a feature available for these editions: Enterprise; Education Standard and Plus as documented here
Basically what you are looking to do is build a query like this:
Data Source = Gmail Log Events
With Conditions Below:
Event Is User spam classification
Spam classification Is Phishing
Like this
Click on the three dots at the top right, next to the bin icon.
Click on ‘Create activity rule’
Add a name + description. Click on ‘Next: View conditions’
Click on ‘Next: Add Actions’
Select the time window: 24hrs o 1hr
Scroll down and set the threshold desired and configure it (basically after how many incidents this will be triggered)
Add a desired action, eg. Send to quarantine, etc.
Select the severity of this rule
Check the box to ‘Send to alert center’
10.Configure Email Notifications.
11.Click on ‘Next: Review’ and make sure it is set to ‘Active’
12.Finally click on ‘Create Rule’
Keep in mind this may take some propagation time of up to 48hrs. For more information on the Investigation Tool see here
Unfortunately the way the Alert Center works would not allow an integration with the Email log search.
They both work on a different way, the Alert center has his own set of parameters to determine the severity, while the Email log search works like a direct tool to audit the data manually.
I believe the best available option to create rules and get notifications an alerts while using the Alert Center dat, is the Investigation tool which is only available with certain versions, check it!

Tracking time spent viewing email in Google Analytics via a tracking pixel

So I'm experimenting with tracking email activity through Google Analytics.
I can create a simple tracking pixel that indicates if the email has been opened and sends that event to GA like so:
<img src=""/>
But is there a way to send a hit to GA that records user timing?
I can see user timing variables in GA's Measurement Protocol: so I assume it would be a second tracking pixel (first sends open event to GA) like this:
<img src=" NAME&utt"/>
Since utt is an integer, I shouldn't hard code it with anything right?
Has anyone else attempted this?

icalendar Event in QR Code

I am generating a QR Code in InDesign to include in flyers, so that interested people can quickly scan the code and add the event to their calendar. The idea is if they can be reminded of the event, we get more people in the door.
So far, everything is working great...except: I don't know how to format the icalendar event such that I receive RSVP responses from people who scan the code. If the event had to change for whatever reason, I'd like to be able to email the people who scanned it. As I have it structured now, when I test scan the QR code my email address receives an invitation and not the expected RSVP response saying the scanner is attending. I have read the specifications for icalendar, but have come away just as confused because the specs are surprisingly short and thin.
Current ical event:
SUMMARY:Event Title
LOCATION:Venue Name\, Venue Address
DESCRIPTION:Event description
It's the ATTENDEE line that I can't figure out. The spec makes it sound like that would cause the person responding to automatically send an acceptance to the email address that follows, which is mine as the event organizer. That's not what happens, so is there a different component to use to get what I desire?
This is an application concern, not anything to do with the iCalendar spec. I'll drive through your ical text quickly, though:
Your RSVP request is formatted fine.
You don't need the URL line.
You need VERSION:2.0. Some applications (like Apple's Calendar app) can't parse ical text without it.
You need a PRODID.
Depending on the location(s) of your attendees relative to the venue, it might make sense to specify a TZID, or (since it's not a recurring event) express your start and end time in UTC.
In general, you should use an iCalendar library like or ical4j to build your calendar events. They'll keep you from 1) needing to know the spec, which probably isn't a good use of your time and 2) shooting yourself in the foot because of #1.
The spec makes it sound like that would cause the person responding to automatically send an acceptance to the email address that follows, which is mine as the event organizer.
This is magical thinking: how would that happen? It would have to be handled by an application or operating system. Something that would "know how" to 1) understand ical, and 2) send a web request or an email or do something else.
The spec allows the organizer to indicate a preference with respect to RSVPs, that's all:
Purpose: To specify whether there is an expectation of a favor of a reply from the calendar user specified by the property value.
It's up to the implementer of the software to determine what that means in the application layer: send a web request, send an email, ignore it, etc.
Presumably scanning the QR code does something. How is the ical text loaded? How should it be loaded? By the user's mobile mail client? By the mobile calendar application? Something else? You need to figure out what THAT action should be, and figure out how to trigger or handle it.
My reading of the RFC suggests that a possibly better interpretation of this line:
is that you have added a single attendee, that attendee's email address is, and that attendee is required to RSVP.
As a result, when you add this calendar event to your calendar, the calendar evaluates it and says: "Wait, we haven't even invited" and then does so.
I actually wouldn't have expected that behavior, and would tend to see it as a bug (side-effect behavior that the user would have no reason to suspect, and which would potentially leak information (like their email address)).
It may help to think of this as you specifying the calendar entry as it will appear on their calendar, as if they created it. As such, they aren't an attendee, they are the organizer.
I think you need to specify a METHOD:REQUEST line per the RFC: and IETF draft:
This should change the entry from a static representation of an entry in your calendar to an invitation. You will probably need a few more things per the IETF doc (like a UID).

What is the name of the App Launch event for Facebook Analytics?

I'm trying to implement the new analytics for a Facebook game (using HTML/Javascript and Flash on Canvas, so there is no mobile version), but it seems that the documentation is incomplete. It says that there are 14 predefined events:
"Events are one of 14 predefined events such as 'added to cart' in a
commerce app or 'level achieved' in a game"
"The fourteen pre-defined events are: App Launch, Complete
Registration, Content View, Search, Rating, Tutorial Completed, Add to
Cart, Add to Wishlist, Initiated Checkout, Add Payment Info, Purchase,
Level Achieved, Achievement Unlocked, Spent Credits."
However, on the reference page where all the events should be listed, the list is only 12 items long, and there is no "App launch" event:
Now, there are some sample event lists for some games, but they are very basic and they don't include the actual code:
which recommends to use these events:
App Install
App Launch
Completed Registration
Completed Tutorial
Level Achieved
Achievement Unlocked
Here is what I have so far:
But is this event the equivalent of App Install or App Launch?
Also, should I send this before the user accepts to share his basic info or after? I'm having so many questions because it's not clear what activateApp() does...
Here is some code for sending some other events that could be useful:
var params = {};
params[FB.AppEvents.ParameterNames.LEVEL] = '12'; //player level
null, // numeric value for this event - in this case, none
I still have more questions: how can I properly send the game version number (maybe with activateApp?) so I can create segments and cohorts later? Some example codes would be really appreciated!
Thanks in advance!
FB.AppEvents.activateApp() provides install and launch event functionality, which is why those two events are not enumerated as options in Activate app doesn't take a parameter. You might want to look at using a custom event to satisfy your use case.

Send info regarding user via XMPP in iOS

I have implemented the chat and everything is working good. I follow that link tutorial to implement chat app. Now i want to send info regarding user like photo,birthday,nickname etc. So i just want to create that info and send to other user.
I also want to send image(Data) to another user.
To set an avatar and other user-information you should have a look at the vcard extension XEP-0153 (specification and implementation).
You will find an example implementation for the vCard within the XMPPFramework iphone demo.
You would use the following calls to update and fetch vCards:
- (XMPPvCardTemp *)fetchvCardTempForJID:(XMPPJID *)jid;
- (XMPPvCardTemp *)fetchvCardTempForJID:(XMPPJID *)jid useCache:(BOOL)useCache;
- (void)updateMyvCardTemp:(XMPPvCardTemp *)vCardTemp;
To send binary data, you have some options. The XMPPFramework implements XEP-0065. There are other methods to send data like:
XEP-0066: Out of Band Data
XEP-0096: SI File Transfer
XEP-0234: Jingle File Transfer
Which you could probably implement as extensions and integrate them into the XMPPFramework.
In will integrate sending binary data like images and videos myself soon. So please leave a comment about your implementation.
first setup user profire in spark and then use [XMPPvCardTempModule myvCardTemp]