Will the number on tweet
button on my site increase if someone
on twitter, without even opening the
link, shares the url?
Can one user make tweet button count go from 0 to 2 in any way?
The count should +1 for every tweet or retweet that contains the link.
If a single user tweets the same link twice the count should +2.
Keep in mind though that Twitter has such a high volume of tweets that tweet button counts will likely be off by a %. Sometimes the count is cached as well resulting in delays between tweets containing the link and the count increasing.
Related
I have a small script to like certain tweets, but I noticed that unlike manual likes these dont show up in a users notifications. I tested this by using the tweet id of a tweet on another account. (Yes the tweet is being liked successfully and it is also shown on the tweet, just not in the notifications of the user)
Is it possible to have it appear in notifications like a "normal" like would?
I tried to see if it had to do with the "high" amount of likes (one per minute) or the type of tweets, no change. Google also didnt show up anything (obviously, thats why Im here).
Consider an app where you maintain a leader-board for users of your app.
Your app has 10 bit.ly links, that a user must tweet.
If the user tweets a link, he gets 5 points. So far I have figured how I must do this, and this is running inside the app properly.
The second functionality of the leader-board app is, to add 2 points to the user's account, if the link shared by the user is clicked.
For instance,
User A shared the bit.ly link http://bit.ly/1yowZ54 on twitter
User A gets 5 points
Find the number of clicks on the link shared by User A and award
numberOfClicks * 2 points to User A
I want a solution for the last step. Is there any way, where I could find how many times the shared link was clicked.
Add a + to the end of the Bit.ly URL.
For example, http://bit.ly/1yowZ54+ will take you to a stats page showing how many clicks a link has had.
There is a comprehensive API available should you wish to do this programatically.
So I have created an small java program with Twitter4J. The main purpose is to destroy all of my favorites. However, Twitter seems to be misrepresenting the favs count. This is what I see on my profile:
I know it's in Spanish but it translates as "You have not marked any Tweet as favorite yet". However, on the stats we can see that I have 6,021 favs.
Does anyone know why is this or if someone has noticed before? Calls to the twitter API also return with zero favs.
Thanks!
I had noticed that, but on Tweets.
Sometimes Twitter counts wrong the numbers of Tweets (or in your case favorites) and that happens because those tweets are too old. Maybe you have an old account (2010-2011) and you had marked those tweets as favorites before.
This is because you can't see the tweets, but you've still got them favorited. There are several ways this can happen. For example:
You have been blocked by the profile you favorited
Their profile is now locked so you can no longer see their tweets you favorited
In both cases, you can't see the tweets themselves, but the tweets aren't deleted, so they still count towards your total.
I am creating a social networking app in iOS for a university group and it's supposed to have display user feeds just like Facebook.
I am saving status updates in MySql database on a server. to update status I am using NSURLRequest and NSURLSession to send status data in post variables to the status update web service which uses php to update the database.
Now, I am confused about displaying the feeds. Here is what i want to do.
I want to fetch 30 feeds first and display them in tableview.
After 30 feeds if the user clicks on more, I want to be able to add another 30 and so on. just like Facebook, when you scroll to the bottom it shows more feeds.
I know how to make the first request and display 30 feeds, but I dont know how to do it the second time. Do I need to make another request? Can someone please explain how Facebook and Twitter do it?
Your request needs to ask for a specific page or offset of the feed, and your server should handle this.
For the first feed, you'd ask for page 0. The server gives you items 1 - 30. At the app end, you keep track of the page you last requested. On the next request, you ask for page 1, and the server gives you items 31-60.
Alternatively, you can send the ID of the last item you have. So for the first request, you send nothing - the server gives you items 1-30. On the second request, you say "the last item in my current list is ID 14152" and the server gives you the next 30 items older than that.
I'm looking to possibly build an iOS app where I would need to get a list of friends of the logged in user who are also using the app and then loop over that list to get an even bigger list of their friends who are also using the app. Hopefully the little scenario below will better illustrate what I mean if it's not clear
Lets say "Sam" uses my app and he has 400 friends of which 30 are using my app. I would like to loop the 30 friends who are using the app to get their friends list so lets say the first person of the 30 is "Jake" and he has 10 friends who are also using the app they should be added to an array and then the next person in the 30 people loop is "Jen" and she has 15 people using the app they would be added to Jake's 10 friends and so on.
I know it's possible according to this link Get a list of friends of a friend on Facebook to get the friends list of a friend but my main concern is speed. Do you think getting a list of friends of friends would take too long for a user of the iOS app?
The list grows linearly, so I don't think there would be much of a speed issue. You can always set a limit to the total number of calls. For example, if I have 200 friends using your app and you limit the number of calls to 100, only the first 100 friends' friends will be shown. That can be quite an extensive list.
You could also inform your user that the operation he/she is trying to perform might take a while and give them the right to cancel at any time. When they cancel you could display the data you already received.
As a last note instead of using an array to store the friends of friends list, It would be better to use a set because chances are many of those people are already friends with each other. So if "Jake" and "Jen" are friends, they would not appear twice on the list.