Comments (11)
okay its seem to be okay now after
!pip install dateparser
but im not getting any in the source.. any idea?
from obsei.source.twitter_source import TwitterCredentials, TwitterSource, TwitterSourceConfig
source_config = TwitterSourceConfig(
keywords=["#LeeSungKyung"], # Keywords, @user or #hashtags
lookup_period="10d", # Lookup period from current time, format: `<number><d|h|m>` (day|hour|minute)
cred_info=TwitterCredentials(
# Enter your twitter consumer key and secret. Get it from https://developer.twitter.com/en/apply-for-access
consumer_key="xxxxxxxxxxxxxxxxxxxxxxx",
consumer_secret="xxxxxxxxxxxxxxxxxxxxxx",
bearer_token='xxxxxxxxxxxxxxxxxxxxxxx',
)
)
source = TwitterSource()
from obsei.
@dominicdev Thank you for reporting this. Hope you are doing this after initializing the source?
# This will fetch information from configured source ie twitter, app store etc
source_response_list = source.lookup(source_config)
source_response_list
will give you all collected tweet data.
from obsei.
@dominicdev Thank you for reporting this. Hope you are doing this after initializing the source?
# This will fetch information from configured source ie twitter, app store etc source_response_list = source.lookup(source_config)
source_response_list
will give you all collected tweet data.
yes tried it, but getting
"title": "Unauthorized",
"type": "about:blank",
"status": 401,
"detail": "Unauthorized"
any idea? I already setup my consumer_key,consumer_secre, bearer_token, what do I missed?
from obsei.
Obsei only supports V2 APIs. Hopefully, you are generating a v2 API client. (Refer image V2 Access
should be there on client)
Also, try passing only consumer_key,consumer_secret
, let Obsei fetch bearer_token
.
from obsei.
okay will try, thanks
from obsei.
Obsei only supports V2 APIs. Hopefully, you are generating a v2 API client. (Refer image
V2 Access
should be there on client)Also, try passing only
consumer_key,consumer_secret
, let Obsei fetchbearer_token
.
how to i know if was V2 im not getting the image you have only got this
from obsei.
from obsei.
Please check inside settings. There might be an option to enable V2 access.
from obsei.
Please check inside settings. There might be an option to enable V2 access.
yes it was anabled now or need to wait a few minutes to take effect?
from obsei.
its okay now just lower the look up fix the issue
from obsei.
Fixed in #257
from obsei.
Related Issues (20)
- [BUG] Google News only return 100 query even if max_results is set at 1000 HOT 4
- [BUG] Facebook source failing with unexpected keyword `long_term_token`
- Integrate Freshdesk, Salesforce and SAP
- [BUG] Import issue on Python 3.7 version
- Make StrongCopyleft dependencies optional HOT 1
- [Observer] Youtube comments integration HOT 1
- ModuleNotFoundError: No module named 'torch' HOT 5
- [BUG] TypeError: '<' not supported between instances of 'datetime.datetime' and 'NoneType' HOT 5
- [BUG]TwitterSourceConfig - AttributeError: At least one non empty parameter required (query, keywords, hashtags, and usernames) HOT 5
- [Observer] Add Youtube Transcript support
- [BUG] Map Review observer not honouring cutoff date
- More granular dependency division to choose analyzer dependencies
- Tiyaro API integration for analyzer HOT 1
- Fix obsei website
- OpenAI GPT3 integration as analyzer
- UNNABLE to import NER ANALYZER not found . HOT 1
- [BUG] Runtime error Demo version . HOT 5
- [BUG] pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package HOT 1
- [BUG] Tutorial 4 first step for Google Collab - pip install obsei[all] partially fails with a pip dependency error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsei.