loiemilio / friendfeed-api Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/friendfeed-api
Automatically exported from code.google.com/p/friendfeed-api
I've attached a patch which will add user/group management, fetch_entry,
fetch_url_feed and fetch_domain_feed to the python library.
Original issue reported on code.google.com by [email protected]
on 23 Apr 2009 at 2:52
Attachments:
Wouild it be too much to ask for Java API library?
Best regards,
Dmitriy.
Original issue reported on code.google.com by [email protected]
on 13 Apr 2008 at 6:03
What steps will reproduce the problem?
1. Try running the friendfeed.py as is.
2. If one of the entries has a title that is not ascii, then you get the
famous unicode error.
3.
What is the expected output? What do you see instead?
The expected output is that you see the characters
properly encoded.
prompt> python friendfeed.py
04/12/2008 Traceback (most recent call last):
File "friendfeed.py", line 303, in <module>
_example()
File "friendfeed.py", line 275, in _example
print entry["published"].strftime("%m/%d/%Y"), entry["title"]
UnicodeEncodeError: 'ascii' codec can't encode characters in position
14-67: ordinal not in range(128)
prompt>
One possible way to fix would be :
print unicode.encode(entry["title"], 'latin1')
instead of
print entry["title"]
What version of the product are you using? On what operating system?
0.4 on a Mac with Python 2.5.2.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 12 Apr 2008 at 8:15
What steps will reproduce the problem?
1. http://friendfeed.com/api/feed/search?format=xml&num=30&start=0&q=bell
What is the expected output?
I expect to see matches on the 'title' field.
What do you see instead?
It matches on link and user as well. So I see everything by user Clayton
Bell. Nothing personal, Clayton, but I'd rather see content containing 'bell'.
What version of the product are you using? On what operating system?
API as of April 4th.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 4 Apr 2008 at 4:26
if it is there please send me the code.
thanks in advance....
Original issue reported on code.google.com by [email protected]
on 9 Apr 2009 at 7:09
The default FriendFeed PHP library should contain a caching mechanism.
Original issue reported on code.google.com by [email protected]
on 3 May 2009 at 5:29
What steps will reproduce the problem?
1. Do any search for a common term
2. no results are found after early morning of Apr 25th
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Online version April 26th or later
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 28 Apr 2008 at 2:27
Just try to get a user's public feeds, a null reference exception will occur.
I have added a control to check whether the child element is sup_id or not
(line 435)
Original issue reported on code.google.com by [email protected]
on 16 Sep 2008 at 3:21
Attachments:
What steps will reproduce the problem?
1. Running the first python script in the documentation
2. Non-ascii characters produce the following:
UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-
3: character maps to <undefined>
3. Using simplejson
What is the expected output? What do you see instead?
Expected output is the titles of the public feeds. I generally get a few
and then the error.
Please use labels and text to provide additional information.
Similar to this issue:
http://code.google.com/p/friendfeed-api/issues/detail?id=5
Original issue reported on code.google.com by [email protected]
on 25 Sep 2008 at 9:51
fetch_feed() method throws ValueError except when fetching this entry
(traceback attached):
http://friendfeed-api.com/v2/feed/safetyguy1656?start=6185&num=1&pretty=1&raw=1
disabling strict decoding
(line 42 in friendfeed.py:
_parse_json = lambda s: simplejson.loads(s.decode("utf-8"), strict=False)
)
seems to solve the issue on this particular data. not sure if this
malformed data, or an escaping character bug on the api side or purely a
simplejson issue, but i thought it's worth mentioning.
this entry gives the same error
http://friendfeed-api.com/v2/feed/safetyguy1656?start=6222&num=1&pretty=1&raw=1
Original issue reported on code.google.com by [email protected]
on 15 Sep 2009 at 10:09
Attachments:
I have added code to the C# library to implement the /api/services API
call. This includes the following modifications:
1. FriendFeedClient.PublishLink: changed none to null so it will compile
2. FriendFeedClient.ServiceList: added this method to retrieve the service
list
3. FriendFeedClient.FetchHomeFeed(string): Changed the first parameter
from null to service so it passes the requested service properly
3. FriendFeedClient.FetchHomeFeed(string, int): Changed the second
parameter from 0 to start so it passes the requested start position properly
4. ServiceList: Added this class to support fetching the service list
5. Entry.Entry: Changed Service constructor call that calls
Util.ChildElement from pulling the user data to pulling the service data
All updates have been tested with .NET 2.0 and IronPython
Original issue reported on code.google.com by [email protected]
on 11 Jul 2008 at 7:52
line 90:
self.access_token = access_tokne
Original issue reported on code.google.com by [email protected]
on 8 Sep 2009 at 7:42
The python interface fails to post content with unicode characters in it
due to limitations of urllib.urlencode.
The attached patch works.
(Note that I've got this code living at
http://github.com/dustin/friendfeed-api so I can make changes to it as
subversion is not my friend)
Original issue reported on code.google.com by [email protected]
on 5 Nov 2008 at 9:23
Attachments:
This is more of a feature request.
The requirement: To be able to make API calls to get a listing of all
services available in FriendFeed (eg GoogleReader, Last.FM, etc...).
At the moment I have to go through the public feed and collect a decent
sample of data to get a listing of all services.
Key Benefit: Will allow us to be able to write apps that firstly get the
types of services available, and then make subsequent requests just on
specific services.
Original issue reported on code.google.com by [email protected]
on 24 Jun 2008 at 11:44
To distinguish where you are posting from. Like for example 'posted from
GitHub' , 'from
bookmarklet' etc.
Original issue reported on code.google.com by [email protected]
on 21 Aug 2008 at 1:34
I am developing a website that requires authenticated access to the user feed.
I am using SCRIPT tags in my page to get access to the data, script tags
don't support Basic AUTH, so SCRIPT
src="http://MYUSERNAME:[email protected]/api/feed/home" will not work.
However you can in firefox preAuth the request via:
link rel="prefetch"
href="http://MYUSERNAME:[email protected]/api/feed/home"
doing so allows subsequent script requests to be automatically
authenticated. And it works in that data will be returned when I do the
following:
SCRIPT type="text/javascript" src="http://friendfeed.com/api/feed/home"
However, when I use a callback as such:
SCRIPT type="text/javascript"
src="http://friendfeed.com/api/feed/home?callback=Search
The API will return a 403 forbidden. I would suspect this to work correctly.
Regards,
Paul Kinlan.
Original issue reported on code.google.com by [email protected]
on 12 Jan 2009 at 5:11
What steps will reproduce the problem?
The Real-time (updates) feed doesn't work for me.
1. curl --basic --user trungly:dryad385pents
http://friendfeed.com/api/updates/home
2. curl --basic --user trungly:dryad385pents
http://friendfeed.com/api/updates/user/trungly/friends
3. etc..
--> Gives generic errorCode "error"
4. The regular feed works fine for me: curl --basic --user
trungly:dryad385pents http://friendfeed.com/api/feed/home
--> Gives full list of entries
What is the expected output? What do you see instead?
Expected: JSON of updates entries
Observed: {"errorCode":"error"}
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 25 Jan 2009 at 10:44
According to the API, comments should be deleted with a "comment - required
- The FriendFeed UUID of the comment to delete. "
But can't find this UUID of the comment in <comment> tag.
Thx.
Original issue reported on code.google.com by [email protected]
on 15 Apr 2008 at 8:37
Using version 0.6 of the C# API downloaded today (June 03 2008).
Line 392 in friendfeed.cs initializes Entry.Service like this:
Service = new Service(Util.ChildElement(element, "user"));
This is a bug. It should initialize using the "service" element, not the
"user" element.
So the correct code should be:
Service = new Service(Util.ChildElement(element, "service"));
Original issue reported on code.google.com by [email protected]
on 3 Jun 2008 at 12:20
What steps will reproduce the problem?
1. I am calling http://chan.friendfeed.com/api/updates/home every few
minutes with authentication and saving and using the token each time.
2. I am calling from ruby, I have attached the file.
What is the expected output? What do you see instead?
I expect the feed to only return entries from the authenticated user (in
this case mrjjwright). I am instead and in error seeing entries every once
in a while from my friend's feeds.
What version of the product are you using? On what operating system?
Mac.
Original issue reported on code.google.com by [email protected]
on 20 Dec 2008 at 7:11
Attachments:
Please add a crossdomain.xml so we can use the api with flash!
Original issue reported on code.google.com by [email protected]
on 27 Mar 2008 at 2:25
I'm using FriendFeed's V2 API. When I connect to friendfeed-api.com with
HTTPS, I observe an error with the SSL certificate.
https://friendfeed-api.com/v2/feed/bret?pretty=1
The SSL cert uses *.friendfeed-api.com which doesn't match friendfeed-api.com
Are you planning to change the certificate?
Original issue reported on code.google.com by sean%[email protected]
on 27 Jul 2009 at 12:47
The API Guidlines define a UI for the FriendFeed login/usage and suggest
that the user can use their nickname and e-mail interchangeably.
http://friendfeed.com/api/guidelines
However if I try to use an e-mail address instead of a nickname when
creating a FriendFeedClient and then call the FriendFeedClient.PublishLink
method I get a 401 WebException.
Is this the expected behaviour i.e. is the nickname the only valid thing to
use with the remote key?
Original issue reported on code.google.com by [email protected]
on 30 Jun 2008 at 3:51
Attachments:
This library requires a setup.py in its + an entry PyPI, so it can be
installed by package managers like easy_install, pip and PyPM.
Would you like help in that?
http://wiki.python.org/moin/Distutils/Tutorial
Original issue reported on code.google.com by [email protected]
on 31 Jan 2010 at 11:28
Uniquely, internal classes are not seen from the web page code behind if
they are used in the app_code folder on an asp.net web site (They would be
fine in a Web Project however)
It might be worth just making them public - that would certainly suit the
scenario of someone just wanting to drop it into a web site and start
coding
Cheers
Ian
Original issue reported on code.google.com by [email protected]
on 4 Apr 2008 at 7:31
The search API (http://friendfeed.com/api/feed/search) fails with
"sanitized" URIs--URIs where certain symbols have been translated into
codes, e.g., ":" to "%3A", "+" to "%2B". (One can get these translations
via Python's urllib.quote_plus().)
Example:
Compare the following results:
curl -u "username:remotekey"
"http://friendfeed.com/api/feed/search?q=from%3Amndoci%2Bcomment%3Anuin%2Blikes%
3A10"
vs.
curl -u "username:remotekey"
"http://friendfeed.com/api/feed/search?q=from:mndoci+comment:nuin+likes:10"
In the former, the users who posted and commented on the entries are
random; in the latter, we get the expected result of entries posted by user
'mndoci' and commented on by user 'nuin'.
In particular, it seems to be a lack of decoding the "+" symbol from "%2B", as
curl -u "username:remotekey"
"http://friendfeed.com/api/feed/search?q=from%3Amndoci+comment%3Anuin+likes%3A10
"
gives the expected result, too.
Best,
Chris
Original issue reported on code.google.com by [email protected]
on 4 Jun 2009 at 9:00
This is a feature request for services associated with a room to be
available from the room profile, similar to the way these are provided for
user profiles.
Original issue reported on code.google.com by [email protected]
on 15 May 2009 at 6:02
The PHP class reads
// The query syntax is the same syntax as
// http://friendfeed.com/advancedsearch
the URL in the comment should be
http://friendfeed.com/search/advanced
Original issue reported on code.google.com by [email protected]
on 26 Mar 2008 at 12:23
What steps will reproduce the problem?
1. Just try to compile the C# library
2.
3.
What is the expected output? What do you see instead?
The library doesn't compile correctly, stating that on line 132, null is
undefined.
What version of the product are you using? On what operating system?
API available as of 2008-07-11, compiling with .NET 2.0
Please provide any additional information below.
Change last parameter on line 132 that calls PublishLink from "none", to "null"
Uploaded file also contains the Service initialization correction from issue 9.
Original issue reported on code.google.com by [email protected]
on 11 Jul 2008 at 5:30
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.