Giter VIP home page Giter VIP logo

friendfeed-api's People

Watchers

 avatar

friendfeed-api's Issues

Java API library

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

Python module example function needs to print encodings correctly

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

API search on 'bell' returns matches on user with last name 'bell' rather than entries that contain bell

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

Caching mechanism

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

Search through API or web page doesn't have results past morning of Apr 25th

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

Unicode error

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

simplejson decoder throws ValueError in Python API

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:

Updated C# Library

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

FeatureRequest: API to just get the FriendFeed Services

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

Incorrect 403 Access denied on script access with a callback parameter.

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

The Real-time (updates) feed does appear to work

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

Missing UUID for <comment> tag

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

(C#) Wrong initialization of Entry.Service

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

Realtime feed returning friend's posts intermittingly

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:

crossdomain.xml

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

HTTPS and friendfeed-api.com


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

Cannot user e-mail instead of nickname in C# API Calls

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:

Scope of classes

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

Search API fails with "sanitized" URIs

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

Comment in PHP class leads to dead URL

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

FriendFeed.cs will not compile

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:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.