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

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.

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.

Use twitter API to aggregate multiple specific twitter feeds?

I am an intermediate level programmer with almost no web experience. I have an idea for an iPhone app and am trying to figure out if it is a feasible project to pursue.
I am thinking of building an application that groups certain specific twitter feeds together into an app. I am wondering if anyone has done this before, and if it is possible to use the twitter API to retrieve specific tweets without having a user have to log in.
The user will not be replying to or responding in any way to the links, rather just opening the links.
Thanks.
Jamie
Any public twitter feeds can be retrieved without a user authorizing their account. However you can usually only get a certain amount of tweets into the past. For instance this returns info about a user and their most recent tweets, just replace "screen_name=" with whatever name you are looking for
http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=jsh2134
More can be found at the Twitter API documentation.

What's the best FQL query to get URLs that a particuler user likes within my application

As I described in title, I'm looking for the way to retrieve a list of URLs that a current user likes within my application.
Each of my application web page uses OGP and has app_id, so page's URL should be related to my application. What I have in my mind is to get a list of URLs or object ids of my web pages with a subquery and then get the URLs that a user likes from the list. Or there might be some smarter ways to solve this...
Any solution for this?
Thank you.
Unfortunately, there is no solution for this. You can't get access to who has liked what even on the URLs from your own site/app.
Tons of developers have been looking for such a feature, but there's no solution as of yet. The only thing facebook makes available is the number of likes on URLs.
Cheers,
-Roozbeh

getting text from facebook wall

i'm looking for an elegant way to get the whole text on facebook wall - including the text diplayed when clicking "Older Posts" recursively - without adds and irrelavant data, including
friend's posts, activities like "new friend", "in relationship" etc.
i prefer a way that doesn't involve dealing with facebook api, but if there is a covnvenient way to do this with the api i'll like to hear about it as well.
Technically, this is possible without FB's API, but trust me: don't!
There have been numerous examples of people getting kicked off of Facebook for exactly this. Web scraping is not allowed by their TOS, so the only legal way is through the API. This is also the most elegant way, in my opinion, since your script won't implode in case Facebook change their layout; API calls maintain backwards compatibility.
So my advice would be to dive into the API docs. They're pretty accessible.

Merge Twitter Outh and Facebook Connect Friends

Basically what I want to do is download all a users facebook and twitter friends and somehow find a way to figure out which entries represent the same person. I know it's possible because a lot of social search sites like spokeo achieve what I want and more, so does anyone know how they go about doing it or the best way to go about it?
I have a basic idea of the facebook and twitter api calls I need to be making however feel free to add any advice or warnings there as well. I know facebook hashes the emails which seems like it could pose a problem.
Any help is greatly appreciated.
I would allow the users to make associations themselves. Then use these associations as suggestions for future users. Over time you'll gather quite a well made associations from your users. Possibly using email addresses and names as suggestion points.
tried using hybridauth, you will get the emails from facebook and twitter which you can use to build the relationships needed