I currently have the following URL but it searchs for a keyword rather than just the users feed.
http://search.twitter.com/search.atom?q=from%3AUSERNAME
I want my users to be able to provide there username only and a feed be displayed on their profile.
What url should i use to obtain a users feed including old posts?
I think what you're looking for is:
http://twitter.com/statuses/user_timeline/%USERID%.rss
Where %USERID% is the ID of the user in question.
For example, the url to my own timeline is:
http://twitter.com/statuses/user_timeline/16979198.rss
with 16979198 being my user id number.
UPDATE
According to the Twitter API, you can also do the same with the users username as follows:
http://twitter.com/statuses/user_timeline/%USERNAME%.rss
Where %USERNAME% is the username of the person who's feed you'd like to view.
For example:
http://twitter.com/statuses/user_timeline/jamiedixon.rss
You can also replace the .rss portion of the link with other data types such as .json .atom
For further information on the Twitter API and Timelines, visit here:
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-user_timeline
Related
We can create a post with a message prefilled from the URL using the below way
https://www.linkedin.com/feed/?shareActive=true&text=Hii%20Hii%20#lavanya
but when we mention a person in the text, it won't auto-detect, again we need to click on that and select the person from the given list of people.
Is there any way to auto-detect the person that we trying to tag
I have a list named "Students" of 500 members. Email will be sent to each member. Two things in the email content will be specific to each member. First one is:
Dear Michael
Michael will be replaced by each members First Name. Second is:
Click here
Click here will have a link behind redirecting each member to different target.
Followed this How to Create a campaign in MailChimp using ASP.Net
I am able to create a campaign using API, but I need to go further with or without API.
I've done this before for an email using personalisation. I didn't send it through MailChimp but I found this article that could help you: http://kb.mailchimp.com/article/getting-started-with-merge-tags/
In your list if you add a field for the student's first name and another field for the the link then you should be able to use merge tags to add that data to wherever you want it to be in your email.
I want to get the date of birth of connections using LinkedIn api.I got some informations using
http://api.linkedin.com/v1/people/~/connections:(headline,first-name,last-name,location)
If i am trying to add dateOfBirth or date-of-birth parameter to this api but it is not working. Can anyone please help me to get the date of birth of all connections?
headline,first-name,last-name,location are comes under basic profile but date-of-birth comes under full profile. So you have add the permission(r_fullprofile) for this one. Try Like this
NSArray *grantedAccess = #[#"r_basicprofile ",#"r_fullprofile", #"r_network"];
According to this document, you will need to apply to be able to retrieve the full profile information, like date of birth:
Member profile fields available to Apply with LinkedIn developers
The following selection of profile fields are only available to applications that have applied and been approved for the Apply with LinkedIn program:
Full Profile Fields
(...)
For more information, visit the Apply with Linkedin page.
Note: This is an old question but things may have changed, so this is for future reference.
As an example, the code I have to embed has an ID of the form: UA-3235632-1, but to use the data export API I need the ID from the URL of the proper page, in this case: 6270018.
How do I get the real ID from the UA type ID?
That feature of the the GA Data Export API could indeed be a little more clear.
Here's what you need to do:
login to the GA Browser and in the
upper-right-hand corner drop-down
menu, select your GA Account of
interest (assuming you have more
than one--if you don't then you are
already on right page). The page
that renders will be the Website
Profiles for that Account. Find the
row in that table that corresponds
to the Profile (Report) you want
retrieve data from and click on the
next-to-last column Edit;
The page you'll see now will say
Profile Settings in the upper
left-hand corner. Just under that,
in smaller font, you'll see Profile
ID followed by a string of digits
(probably six to eight). This is what you want
(in the python client for the GA
Data Export API, it is referred to
as TABLE_ID)).
To retrieve this parameter (TABLE_ID) programmatically, the GA Data Export API Account Feed returns this value to you in the dxp:tableID field. In particular, an Account Query will return the list of profiles under that Account to which you have access; each Profile will have a tableID in the field i mentioned just above.
In my project i am sending a mail to the user to create a user account. I want to enable that link for the first time he/she clicks the link. if he clicks the link for more than 2 times,then it should go to custom error page.how to do this?
This depends on how the link is generated.
For example: If your link contains a username as GET-parameter, then you could simply query your database if the username is already in use. I would advise against that, because the user can easily change that GET-Parameter
I would recommend this: Your link should contain a unique identifier, most likly a hash. This hash is stored somewhere, to garantee it's uniqueness, like in the usertable of your database (a column for the hash of the registration link). That might also come handy, because you could create new user rows and already prefill them with necessary information. You could use these information upon rendering to insert text into the textboxes