Does Watson Personality Insights use retweets? - ibm-cloud

Does Personality Insights use retweets when using a Twitter feed as input? And if so, is there a way to exclude them?

I think you misunderstand the way that the Watson Personality Insights service works. The way the API is structured, the end user passes in content for Watson to analyze. That content can be anything from a collection of tweets, to a chapter of a book, to any long-form body of writing. The only requirement is that the number of words is greater than 100 and the total size is less than 20 MB.
Looping back to your question, the Personality Insights API will use whatever content you pass it, so it will only analyze retweets if it is given them. For more info on the API, check out the REST API documentation.

Related

Increase Rate Limit on Facebook Instagram Graph API

While figuring out how to use the Instagram Graph API for Hashtag searches I found out that the rate limit kind of makes it impossible for my use case to search hashtags. Maybe I just don't know the best practices for the Hashtag search so here is my use case:
A client wants an application to manage coupon/discounts initiatives for his clients. Each of those clients have a store and want to offer discounts for everyone posting on instagram with a store-specific hashtag. My client wants to create/update/delete stores in an application and define the hashtag for a store. Thats all done. Now I need to trigger hashtag searches for each store. And heres the problem:
There are 70 stores (at first, may be more in the future). Each store has a unique hashtag and wants to know who posts something with their hashtag. When someone posts with a hashtag the application should know after max. 20 seconds. This means triggering a hashtag search 70 times (because there are as many hashtags as there are stores) every 20 seconds (I know once I get the hashtag ID I can save it and don't need to search for the acutal term anymore, but I still need the newest media for the hashtag ID).
Thats one thing. The other thing is I can only query 30 different unique hashtags in a week (facebook api limitation). But I will need to query at least 70 different hashtags. And the stores don't want to create a facebook account and instagram business page, so they can oauth into my application just for that.
So at the moment the way of doing it is kind of create 70 fake-pseudo-accounts (one for each store) and use those acocunts to prevent hitting the rate limit. But I don't think this is the way facebook wants me to use the graph api.
In this post Facebook API rate limit increase an answer from 2017 shows that there is a possibility to request a rate limit increase and in the linked picture is even the sentence "This is a page management app with few users but many calls". But more recent comments show that this is not possible anymore and I couldn't find any rate limit increase option in the developer portal.
https://stackoverflow.com/a/39408611/6315447 This answer even says there is no possibility anymore and If you hit the rate limit you're doing something you are not supposed to. But how should I use the API then?
Am I missing something? What is the best practice for such a use case?
Thanks in advance.

How I get impression level log data using facebook api

I am working on facebook api. I can get total impression and clicks etc. data from facebook campaigns stats report. But my requirement is to get each impression in individual line. For example if campaign stats report shows 100 impression than I want to know 100 impression individually where they shown. Can anybody help me how I achieve this functionality of facebook marketing api.
Thanks
Hej,
You can breakdown the data by platform, device and such (check Facebook API Documentation about Breakdowns ) but as far as I am aware the API always aggregates Views that come from the same source or occurred in the same timeframe.

unemploymet analysis through social media

unemployment analysis through social media in big data concept.In my application i need to retrieve a information of person from Facebook. Like the status of particular person and his degree,studies and current job of the person including previous job if he is not fresher. so which way to get this information. please tell me..
Then my output is like graphical representation. so i have to highlight each degree in the graph. the major objective is to produce the unemployment report.
What you're trying to achive is IMHO no longer possible with the Graph API >= v2.0. You'd need to get the permission of every user to get the data you want. You should have a look at the permission concept Facebook has implemented for its Graph API and see for yourself:
https://developers.facebook.com/docs/facebook-login/overview/v2.2
https://developers.facebook.com/docs/facebook-login/permissions/v2.2
https://developers.facebook.com/docs/facebook-login/access-tokens
First you need to use the Facebook Graph API to retrieve the available data for each user.
https://developers.facebook.com/docs/graph-api
Then use a graphical library to draw what you want (but the question is a little too broad to go further).

Calculating Social Media Score for URLs

I am trying to create a ranking system for URLs that are fetched from RSS Feeds.
I tried to get FB likes or Twitter shares for URLs but I dont see consistent result.
Instead of doing that by myself, is there any 3rd party library which does such calculation?
What are the best practices on finding share counts for URLs on Twitter + Facebook?
What inconsistency are you seeing?
You should be able to score them by matching the URL to, for example, a tweet and then scoring based on its retweet_count value. The important step is determining what you want your scoring to be based on.
If it's time sensitive then look at the Reddit or Hacker News algorithms that use number of votes (in your case, shares and retweets) and the time since they were posted. That way newer tweets would score higher but older tweets with many retweets would still remain high (reflects popularity).

what in your opinion would be best way to get all the retweets from twitter

working PHP probably on amazon ec2...
can anyone explain what would be the best way to get all the retweets that contains http links from twitter using either twitter api or some kind of a third party parser (pubsubhub,xmpp, etc)?
my application needs the widest aas possible perspective on that data meaning every retweet counts! in order to get the proper results i need to minimize as possible the amount of missed retweets that contain links
suggestions anyone?
Do you mean retweets of a certain user? Or all retweets on Twitter that contain links?
You could use the Search API to look for tweets containing "RT" or "via" (two of the most common ways to retweet) and that also contain links. The URL might look like this:
http://search.twitter.com/search.atom?ors=via+RT&filter=links
Note that Twitter is nearing the launch of a new retweet method. Hopefully when they do there will be a native filter for retweets.