| π Navigation: π Home | π Docs | π OSINT Guide | π― Context Usage | π₯ Health |
The Social Intelligence module extends CrawlLamaβs OSINT capabilities with comprehensive social media analysis and monitoring.
| Platform | Status | API Integration | Username Pattern |
|---|---|---|---|
| β | Optional | 1-15 characters, A-Z, 0-9, _ | |
| β | Optional | 1-30 characters, A-Z, 0-9, _, . | |
| β | Optional | 3-100 characters, A-Z, 0-9, - | |
| β | Optional | 5-50 characters, A-Z, 0-9, . | |
| GitHub | β | β | 1-39 characters, A-Z, 0-9, - |
| β | β | 3-20 characters, A-Z, 0-9, _, - | |
| YouTube | β | Optional | 1-100 characters, A-Z, 0-9, _, - |
| TikTok | β | Optional | 1-24 characters, A-Z, 0-9, _, . |
from core.osint.social_intel import SocialIntelligence
async def analyze_user():
social = SocialIntelligence()
# Analyze a username
results = await social.analyze_username(
username="john_doe",
platforms=["twitter", "instagram", "github"]
)
print(f"Found on {results['summary']['platforms_with_presence']} platforms")
# Generate report
report = social.generate_social_report(results)
print(report)
async def search_by_email():
social = SocialIntelligence()
# Discover profiles based on email
results = await social.discover_profiles_by_email("john.doe@company.com")
print(f"Username matches: {len(results['username_matches'])}")
for match in results['username_matches']:
print(f" - {match['platform']}: {match['url']}")
async def monitor_activity():
social = SocialIntelligence()
# Monitor social media activity
activity = await social.monitor_social_activity(
username="target_user",
platforms=["twitter", "instagram"]
)
print(f"Activity level: {activity['activity_level']}")
print(f"Sentiment: {activity['overall_sentiment']}")
The Social Intelligence module is integrated into the CrawlLama CLI:
# Analyze username
python main.py --osint --social-username "john_doe"
# Email-based search
python main.py --osint --social-email "john@example.com"
# Activity monitoring
python main.py --osint --social-monitor "target_user" --platforms twitter,instagram
For advanced features, API keys can be configured:
{
"social_apis": {
"twitter": {
"api_key": "your_twitter_api_key",
"api_secret": "your_twitter_api_secret",
"access_token": "your_access_token",
"access_secret": "your_access_secret"
},
"instagram": {
"access_token": "your_instagram_token"
}
}
}
βοΈ Important Notes on Legal Use:
{
"username": "john_doe",
"platforms_found": [
{
"platform": "github",
"username": "john_doe",
"url": "https://github.com/john_doe",
"exists": true,
"profile_data": {
"display_name": "John Doe",
"verified": false,
"follower_count": 150
},
"last_checked": 1698765432.0
}
],
"summary": {
"total_platforms_checked": 8,
"platforms_with_presence": 3,
"confidence_score": 0.375,
"risk_indicators": ["Multiple username variations found"]
}
}
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SOCIAL MEDIA INTELLIGENCE REPORT β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Target Username: john_doe
Analysis Date: 2025-10-24 15:30:45
SUMMARY:
ββ Platforms Found: 3/8
ββ Confidence Score: 0.375 (37.5%)
ββ Risk Level: LOW
PLATFORMS WITH PRESENCE:
ββ GITHUB: https://github.com/john_doe
ββ TWITTER: https://twitter.com/john_doe
ββ LINKEDIN: https://linkedin.com/in/john_doe
USERNAME VARIATIONS FOUND:
ββ john_doe_2024: 2 platform(s)
ββ john_doe_official: 1 platform(s)
# Run social intelligence tests
python tests/test_social_intel.py
# Unit tests
pytest tests/test_social_intel.py -v
# Coverage report
pytest tests/test_social_intel.py --cov=core.osint.social_intel
session_timeout in configurationimport logging
logging.getLogger("crawllama").setLevel(logging.DEBUG)