Twitter API: does one need an enterprise account to filter a query with profile_country? - twitter

According to the documentation about location filtering, there is an operator profile_country that can be used to filter a specific country. However these operators seem to be restricted to enterprise accounts only, right?
If somebody could confirm please? And is there any alternative available with an academic account, knowing that I don't want to be restricted to geo-tagged tweets?

Unfortunately, it seems you are correct - it appears the location-based filtering is only available on enterprise accounts.
They have a comprehensive list of features included on both the enterprise and academic API accounts. And it is listed as a feature on the enterprise page, but not on the academic track page.

Related

How we can publish a twitter dataset?

We are going to collect records of roughly 80M from twitter but, we do not know if that is legal or illegal to publish it somewhere like Github.
I saw that users, mostly publish the tweet IDs other than the whole tweet data (like text, username and ...). How is possible to publish twitter data?
I saw that users, mostly publish the tweet IDs other than the whole tweet data
That's correct, and that's aligned with the Twitter Developer Policy that you agree to when using the API, which states:
If you provide Twitter Content to third parties, including downloadable datasets or via an API, you may only distribute Tweet IDs, Direct Message IDs, and/or User IDs (except as described below). We also grant special permissions to academic researchers sharing Tweet IDs and User IDs for non-commercial research purposes.
[... - ...]
Academic researchers are permitted to distribute an unlimited number of Tweet IDs and/or User IDs if they are doing so on behalf of an academic institution and for the sole purpose of non-commercial research. For example, you are permitted to share an unlimited number of Tweet IDs for the purpose of enabling peer review or validation of your research. If you have questions about whether your use case qualifies under this category please submit a request via the API Policy Support form.
Basically, if you are in any doubt you should ask Twitter directly via the form linked above, but the policy is pretty clear that you should only be sharing Tweet IDs. You should also have stated your intent when applying for API access.

Audience information for a twitter handle

Sorry if my question to too naive. But i wish to find audience level information for a particular twitter handle. Lets consider #BarackObama, i wish to find his followers by gender, age, language, location etc. I used python scripts in this link https://github.com/GnipDz/Python-Insights to achieve it.
I do have access to twitter ADS API but it still shows your application ID is not authorized when i try to run the scripts. Is there a special API or addition over Ads API to achieve this? can someone guide me as to how i can do this?
Those scripts use Twitter's enterprise (commercial) Audience API. This API does not enable you to access audiences for individual users, only aggregated data for large numbers of Twitter handles. Additionally, this is not a free-to-access API so you need to have an active enterprise subscription for this to work.
I'm not aware of any programmatic way to access this data, and particularly not for any organic account - the Engagement API enables access to Tweet engagements for the authenticated account, but you're not able to access that data for other users.

Is it possible to allow my clients to create AdWords ads on their accounts, via my system which is connected to the AdWords API?

I have a 'landing page creator' system which my clients use to create their own landing pages.
I would like to know if it's possible to integrate the AdWords API to my system, and allow my clients to create ads directly to their AdWords account via the admin I've built?
Generally speaking, yes. There already are apps using AdWords API like Marin software, Wordstream, Altus etc.
For comprehensive overview of the tools available, see Quora.
There are also some limits of AdWords API usage.
I also belive that this broad question might be Googled next time.

Some guidelines on integrating Google's OAuth with my application

This is a very high level question, to a high level answer too, so I'm just looking for some pointers on the right direction.
Let's say I want to build a web application to manage a user's Google Contacts. I understand this is done by allowing the user to log in with his Google Account while asking for permissions to manage his Google Contacts. So far so good.
Now I want to expose my own API layer for external browser extensions, Android clients, etc. But while I want the API clients to authenticate against Google, I don't want the applications to have full access to the user's Calendar, as the Secret Token is stored on the server.
So, how is this typically handled? I would like to do it by the book as much as possible, without having to implement a lot of security code.
Btw, while the question is too high level, feel free to point me to technical docs.
Thanks
Limited access to the user's resources can only be guaranteed by limited OAuth scopes:
https://developers.google.com/gdata/docs/auth/oauth#Scope
Some APIs, for instance the Contacts API, only provide a single scope which gives you access to all the data. In cases like this, the user can only choose between giving you access to all his contacts or none of them.
Other APIs expose different OAuth scopes, allowing the developers to only request access to a subset of the user's data. A good example of this is the Google Drive API, which has 5 different scopes for the developer to choose from:
https://developers.google.com/drive/scopes

Are there any licensing costs involved in using BlackBerry Maps API

Are there any licensing costs to be paid for commercial applications that use the BlackBerry Maps API or registered developers can use them in any commercial applications being developed by them?
If you use the "RIM Base Map Product Offerings" described here under Section 1, then there is no cost. In section 2(f) however, it says that if want to use “Enhanced map APIs”, then you would have to enter a license agreement with TANA. More than likely if you have access to these APIs then there should be a license in one or all of the files, and probably instructions that come with the API detailing how to enter a license agreement with TANA.
Short answer: You can use the map API for free if you are using the basic APIs. If you want to use the more advanced features provided in the “Enhanced map APIs”, then read the documentation specific to those APIs. It could be that there is an implied license in the API.
There are no cost related to using most of the BlackBerry API.
I have no document that proves it, but where I work we sell application that use Blackberry Maps, and we didn't bought any license.
The user already paid for the device which include the Technology, so the developper dosen't need to pay to use the API.
Except for the API that need to be signed.
You should probably read the license on RIM website.

Resources